Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course Update: Section 2 - Section 1 & 2 Quiz -- Incorrect mode command argument in the - 'Ansible Modules - check our knowledge' #20

Open
mikeelliottuk opened this issue Aug 12, 2022 · 1 comment

Comments

@mikeelliottuk
Copy link

mikeelliottuk commented 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:

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'

@mikeelliottuk 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
@spurin
Copy link
Owner

spurin commented Aug 12, 2022

Thanks @mikeelliottuk! Appreciate this feedback.

Also, awesome to see your attention to detail.

I'll take a look further on this. Will leave the issue open until it's addressed accordingly 👍

@spurin spurin changed the title Incorrect mode command argument in the - 'Ansible Modules - check our knowledge' Course Update: Section 2 - Section 1 & 2 Quiz -- Incorrect mode command argument in the - 'Ansible Modules - check our knowledge' Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants