Re: [ansible-project] Unable to restart auditd service on centos7

2020-02-17 Thread Bariou Alarou
Could you use the service module instead of command. Handler: - name: centos7 restart auditd service: name: audits state: restarted become: yes Also wanted to know how do you run your playbook because you defined as handler. On Mon, Feb 17, 2020 at 8:36 AM Bala Mutyam wrote:

Re: [ansible-project] Ansible and Jenkins Integration

2020-01-21 Thread Bariou Alarou
Then you will enable ansible plugin on your Jenkins system and connect theme through ssh-keys with one user create on both systems. Maybe the link below can help you. https://www.redhat.com/en/blog/integrating-ansible-jenkins-cicd-process Thanks On Tue, Jan 21, 2020 at 5:32 AM Sai Prasha

Re: [ansible-project] AWX Tower install failure (2 separate servers)

2019-11-21 Thread Bariou Alarou
Hello John, Update your /etc/yum.conf with bellow. The error is that API fetching is time out. This is not the best solution but it works form me when I was facing same problem. [image: image.png] On Thu, Nov 21, 2019 at 9:48 AM John James wrote: > Good Morning, > >I am pretty new to

Re: [ansible-project] Hello guys, I'm unable to pass a dynamic inventory script to read a yml file from repo

2019-09-26 Thread Bariou Alarou
Le jeudi 26 septembre 2019 16:10:15 UTC-4, Vladimir Botka a écrit : > > > > usage: > > > > inventory.py [-h] [--sshkey SSHKEY] [--commit > > > > COMMIT] url inventory inventory.py: error: too few arguments > > > > > > Extra variables (-e, --extra-vars) are passed to the play not to the

Re: [ansible-project] Hello guys, I'm unable to pass a dynamic inventory script to read a yml file from repo

2019-09-26 Thread Bariou Alarou
Le jeudi 26 septembre 2019 15:03:04 UTC-4, Vladimir Botka a écrit : > > On Thu, 26 Sep 2019 09:56:26 -0700 (PDT) > Bariou Alarou > wrote: > > > I'm able to get the list of my hosts from the yml file when running this > > command > > $ /opt/ansible/static/

Re: [ansible-project] Hello guys, I'm unable to pass a dynamic inventory script to read a yml file from repo

2019-09-26 Thread Bariou Alarou
Thanks for your response. Where do I have to create the wrapper file? (is it in ansible.cfg) file. Le jeudi 26 septembre 2019 15:03:04 UTC-4, Vladimir Botka a écrit : > > On Thu, 26 Sep 2019 09:56:26 -0700 (PDT) > Bariou Alarou > wrote: > > > I'm able to get the list of

[ansible-project] Hello guys, I'm unable to pass a dynamic inventory script to read a yml file from repo

2019-09-26 Thread Bariou Alarou
I'm able to get the list of my hosts from the yml file when running this command $ /opt/ansible/static/inventory/inventory.py https://github.com/adeyeri88/test.git staging.yml { "_meta": { "hostvars": {} }, "db": { "children": [ "db-site2",