Files
test_play/local_test.yml
jonnybravo 6ad3cc11d6
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
added Jenkinsfile
2023-06-05 14:50:19 +02:00

18 lines
358 B
YAML
Executable File

#! /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') }}'"