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:
parent
b0c8124f51
commit
77f93e2fa3
1 changed files with 30 additions and 0 deletions
30
test.yml
Normal file
30
test.yml
Normal 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!
|
Loading…
Reference in a new issue