Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Check Config File
49 views
Skip to first unread message
samuel...@adservio.fr
unread,
Sep 26, 2017, 10:28:07 AM
9/26/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi all
I'm newbie on Ansible and i need to check some parameters in a config file.
For example i need to check if the
remote_user
is "user" in ansible.cfg
How i can symply do that with a playbook ?
Thx in advance,
Samuel
samuel...@adservio.fr
unread,
Sep 26, 2017, 10:49:14 AM
9/26/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I think the good way to follow is :
http://docs.ansible.com/ansible/latest/lineinfile_module.html
Reply all
Reply to author
Forward
0 new messages