You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
mikeelliottuk
changed the title
Incorrect command argument in the - 'Ansible Modules - check our knowledge'
Incorrect mode command argument in the - 'Ansible Modules - check our knowledge'
Aug 12, 2022
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:
The text was updated successfully, but these errors were encountered: