[ansible-project] Hi guys bit lost with this can anyone help

2021-03-23 Thread Mohamed Rahiman
[root@sc-centos-1-2-1-build-1 ~]# ansible-playbook delete.yml PLAY [ECS delete S3 bucket and all objects] ** TASK [Connect to ECS | Delete S3 bucket] ***

[ansible-project] TASK [Connect to ECS | create new Object User "newuser" in NameSpace "132602781347206615"] *****************

2021-03-19 Thread Mohamed Rahiman
Guys Im making good progress working all day all night I am trying to run an ansible playbook to create an object user within ECS - however i get the following error TASK [Connect to ECS | create new Object User "newuser" in NameSpace "132602781347206615"] * fatal: [localhost]: F

Re: [ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-18 Thread Mohamed Rahiman
thanks Anthony On Tue, 16 Mar 2021 at 11:13, Antony Stone < antony.st...@ansible.open.source.it> wrote: > On Tuesday 16 March 2021 at 12:06:35, Mohamed Rahiman wrote: > > > ok guys did a bit of rtfm and my format for the hosts file was in no > format > > so i did the

Re: [ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-16 Thread Mohamed Rahiman
ailed to connect to the host via ssh: root@192.168.1.115: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachable": true } root@ubuntu2004:/home/ubuntu# On Tue, 16 Mar 2021 at 15:50, Mohamed Rahiman wrote: > thanks Antony > > I think these d

Re: [ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-16 Thread Mohamed Rahiman
my_vyos_user -k -m vyos.vyos.vyos_facts -e ansible_network_os=vyos.vyos.vyos On Tue, 16 Mar 2021 at 11:13, Antony Stone < antony.st...@ansible.open.source.it> wrote: > On Tuesday 16 March 2021 at 12:06:35, Mohamed Rahiman wrote: > > > ok guys did a bit of rtfm and my format for

Re: [ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-16 Thread Mohamed Rahiman
NG]: Could not match supplied host pattern, ignoring: ubuntu2004* [WARNING]: No hosts matched, nothing to do [root@sc-centos-1-2-1-build-1 ansible]# On Tue, 16 Mar 2021 at 10:34, Mohamed Rahiman wrote: > Hi Guys sorry new to this and thanks to Antony Stone - sorry if im being > dents but

Re: [ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-16 Thread Mohamed Rahiman
do is the following - im going through th basics [root@sc-centos-1-2-1-build-1 ansible]# ansible ubuntu2004* -m file -a "path=/home/user1/file2.txt state=touch mode=700" On Mon, 15 Mar 2021 at 19:53, Mohamed Rahiman wrote: > > Error reading config file (/etc/ansible/ansible.cfg):

[ansible-project] Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601

2021-03-15 Thread Mohamed Rahiman
Error reading config file (/etc/ansible/ansible.cfg): Source contains parsing errors: '' [line 4]: ' 3 \n' #601 Hi Guys I am learning Ansible as a newbie so that i can get into the industry of IT, I am learning everything from scratch I have two hosts - hosts 1 and 2 i am trying to create a fi