added test
Some checks failed
multibranch_ansible/pipeline/head There was a failure building this commit

This commit is contained in:
2023-06-06 11:30:51 +02:00
parent d94d89ed9d
commit bdd6c66946
3 changed files with 23 additions and 2 deletions

21
ansible.cfg Executable file
View File

@@ -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

View File

@@ -14,4 +14,4 @@
- debug: - debug:
var: playbook_dir var: playbook_dir
- debug: - debug:
msg: "'{{ lookup('ansible.builtin.env', 'HOME') }}'" msg: "'{{ lookup('ansible.builtin.env', '~') }}'"

View File

@@ -18,7 +18,7 @@
- debug: - debug:
var: ansible_host var: ansible_host
- debug: - debug:
msg: "'{{ lookup('ansible.builtin.env', 'HOME') }}'" msg: "'{{ lookup('ansible.builtin.env', '~') }}'"
- name: Install Package Test - name: Install Package Test
package: package:
name: "{{item}}" name: "{{item}}"