[ansible-project] Re: Trick to remove a backslash liternal in Ansible?

2022-01-17 Thread Todd Lewis
You haven't posted any Ansible for us to help you with. Could you include something you think should work but doesn't? Otherwise we're just guessing what you're trying to do, and that rarely works well for anybody. On Friday, January 14, 2022 at 10:18:30 AM UTC-5 jibun...@gmail.com wrote: >

[ansible-project] The "mount' module and adding a mount option

2022-01-17 Thread Dan Linder
I've got a variety of mounts that I want to ensure specific flags are set on each. For other reasons, the mounts don't have the same flags. I mistakenly thought the 'mount' module would ensure each had the flag, but instead it set the flags of the mount to ONLY the 'opts' parameter. For

Re: [ansible-project] mariadb install from tar archive - systemd daemon-reload fails

2022-01-17 Thread dulhaver via Ansible Project
my mistake was the choice of the service file to use (/opt/db/mysql/mariadb/support-files/mysql.server) In my particular environment another service file was to be used > On 01/17/2022 3:05 PM dulhaver via Ansible Project > wrote: > > > I am trying to install mariadb from a tar-archive and

Re: [ansible-project] mariadb install from tar archive - systemd daemon-reload fails

2022-01-17 Thread Parth Patel
Hey, Make last 3 tasks as below. Make changes in green and give a try. Secondly Is there any specific reason why become: yes is used in every task ? Why not its defined once at play level ? - name: systemd deamon-reload systemd: state: restarted daemon_reload: yes *- name: systemd - enable

[ansible-project] mariadb install from tar archive - systemd daemon-reload fails

2022-01-17 Thread dulhaver via Ansible Project
I am trying to install mariadb from a tar-archive and then make systemd mange the service with these 5 TASKS - name: install mariadb - run the install script shell: cmd: ./mariadb-install-db --defaults-file=/opt/db/data/mysql/my.cnf --user=mysql --basedir=/opt/db/mysql/mariadb