Files
test_play/test_play.yml
jonnybravo 2c4a880146
All checks were successful
multibranch_ansible/pipeline/head This commit looks good
test
2024-09-16 20:37:19 +02:00

30 lines
591 B
YAML
Executable File

#! /usr/bin/env ansible-playbook
---
- name: "TestPlay"
gather_facts: true
become: false
hosts: test
#hosts: localhost
#connection: local
tasks:
- debug:
msg: "Hello World"
- debug:
var: ansible_host
- debug:
var: playbook_dir
- debug:
msg: "Lalaalalala"
- debug:
var: ansible_host
- debug:
msg: "'{{ lookup('ansible.builtin.env', '~') }}'"
- name: Install Package Test
package:
name: "{{item}}"
state: present
with_items:
- vim
- net-tools
- rclone