Hi there, I was working through the 'Lets check our Ansible knowledge' test for the Ansible Modules section (Approx 14m30s in the video). I constructed the command using the Ansible documentation and noticed a small error in the instructional video.
The command as shown was:
ansible all -m file -a 'path=/tmp/test_modules.txt state=touch mode=600'
but I noticed that the documentation states that the mode value in this case will be interpreted as decimal and not octal. I think the command should therefor be:
ansible all -m file -a 'path=/tmp/test_modules.txt state=touch mode='600''
or
ansible all -m file -a 'path=/tmp/test_modules.txt state=touch mode=0600'
Hi there, I was working through the 'Lets check our Ansible knowledge' test for the Ansible Modules section (Approx 14m30s in the video). I constructed the command using the Ansible documentation and noticed a small error in the instructional video.
The command as shown was:
but I noticed that the documentation states that the mode value in this case will be interpreted as decimal and not octal. I think the command should therefor be: