1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 12:12:12 +00:00

/opt/iiab/iiab/test.yml for rapid testing of Ansible commands/modules/syntax

This commit is contained in:
root 2021-07-13 01:42:49 -04:00
parent b0c8124f51
commit 77f93e2fa3

30
test.yml Normal file
View file

@ -0,0 +1,30 @@
# TEST ANSIBLE COMMANDS/MODULES IN SECONDS -- BY RUNNING:
# ansible-playbook -i ansible_hosts test.yml --connection=local
- hosts: all
become: yes # Optional privilege escalation
#vars_files:
#- roles/0-init/defaults/main.yml
#- vars/default_vars.yml
#- vars/{{ ansible_local.local_facts.os_ver }}.yml
#- /etc/iiab/local_vars.yml
#- /etc/iiab/iiab_state.yml
#roles:
# - { role: 0-init }
tasks:
#- include_role:
# name: 0-init
- debug:
msg: YO!
#- pause:
- debug:
msg: "{{ 'changeme' | password_hash('sha512') }}"
# TEST ANSIBLE COMMANDS/MODULES HERE!