added Jenkinsfile
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
This commit is contained in:
17
local_test.yml
Executable file
17
local_test.yml
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /usr/bin/env ansible-playbook
|
||||
---
|
||||
- name: "TestPlay"
|
||||
gather_facts: true
|
||||
become: false
|
||||
#hosts: 192.168.150.40
|
||||
hosts: localhost
|
||||
connection: local
|
||||
tasks:
|
||||
- debug:
|
||||
msg: "Hello World"
|
||||
- debug:
|
||||
var: ansible_host
|
||||
- debug:
|
||||
var: playbook_dir
|
||||
- debug:
|
||||
msg: "'{{ lookup('ansible.builtin.env', 'test') }}'"
|
||||
Reference in New Issue
Block a user