All public logs

Combined display of all available logs of Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 20:44, 13 March 2024 Ebasso talk contribs created page Ansible: Replacing text in file complex example (Created page with "I need to replace umask into /etc/profile from: if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then umask '''022''' else umask '''027''' fi to if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then umask '''002''' else umask '''022''' fi Below, an ansible script that do this: <nowiki> - name: Verify existence of file /etc/profile locally hosts: localhost gather_facts: false vars: myfile: /etc/...")