diff --git a/ansible.cfg b/ansible.cfg new file mode 100755 index 0000000..bdace40 --- /dev/null +++ b/ansible.cfg @@ -0,0 +1,21 @@ +[defaults] +inventory = ./inv/devel/ +log_path = ~/.ansible/log_ansible.log +privat_key_file = ~/.ssh/ansible +roles_path = ./roles +retry_files_enabled = true +retry_files_save_path = ~/.ansible/retry-files +force_handlers = true +#vault_identity_list = ~/.ansible/.vault-pass +#only jenkins-agent +vault_identity_list = /ps +#Gather CONFIG +gathering = smart +fact_caching = yaml +fact_caching_connection = ~/.ansible/fact_caching +fact_caching_timeout = 86400 +callback_plugins = "$(python3 -m ara.setup.callback_plugins)" + +[ara] +api_client = http +api_server = http://127.0.0.1:8000 diff --git a/local_test.yml b/local_test.yml index d920d78..8495667 100755 --- a/local_test.yml +++ b/local_test.yml @@ -14,4 +14,4 @@ - debug: var: playbook_dir - debug: - msg: "'{{ lookup('ansible.builtin.env', 'HOME') }}'" + msg: "'{{ lookup('ansible.builtin.env', '~') }}'" diff --git a/test_play.yml b/test_play.yml index 0feb2cf..5ba7240 100755 --- a/test_play.yml +++ b/test_play.yml @@ -18,7 +18,7 @@ - debug: var: ansible_host - debug: - msg: "'{{ lookup('ansible.builtin.env', 'HOME') }}'" + msg: "'{{ lookup('ansible.builtin.env', '~') }}'" - name: Install Package Test package: name: "{{item}}"