Re: [ansible-project] Re: Regarding not to proceed further if ansible task fails

2023-09-18 Thread Dick Visser
On Mon, 18 Sept 2023 at 09:03, Ashok Reddy wrote: > Hi John, > > I have configured the meta_play: end_play in roles where the task has > failed but it will not exit . > Can you please guide me? > Please focus on the actual problem, and respond to Todd's mail and provide the requested data. --

Re: [ansible-project] Re: Regarding not to proceed further if ansible task fails

2023-09-18 Thread Ashok Reddy
I will send On Mon, 18 Sep 2023 at 4:02 PM, Dick Visser wrote: > > > On Mon, 18 Sept 2023 at 09:03, Ashok Reddy wrote: > >> Hi John, >> >> I have configured the meta_play: end_play in roles where the task has >> failed but it will not exit . >> Can you please guide me? >> > > Please focus on th

[ansible-project] Encrypted traffic with vault?

2023-09-18 Thread Rick Fee
If you are using winrm over http (5985) and ansible-vault for creds...on passing that traffic are the passwords in clear text? Or if you are using Kerberos that encrypts it? I'm guessing ansible-vaults encryption is for that file only. -- You received this message because you are subscri

[ansible-project] Re: The input device is not a TTY

2023-09-18 Thread 'jojebo' via Ansible Project
If I delete these two lines async: 1200 poll: 10 it works! But I would like to start the task on all of the servers at once which needs async, right? jojebo schrieb am Mittwoch, 13. September 2023 um 14:10:37 UTC+2: > I removed the ssh arguments → “the input device is not a TTY”

[ansible-project] GUI Display over SSH on Windows server

2023-09-18 Thread Michele
Hello! Is there any way I can get a GUI to display on a Windows server that has been connected to the ansible control node via SSH? In my situation, I am trying to run a batch file on a Windows server that will display a GUI and a running terminal that records outputs to that terminal. These

[ansible-project] Ansible 'user' module won't set expected password

2023-09-18 Thread 'Ansible Project' via Ansible Project
Hi - I'm trying to use the ansible.builtin.user module to set the user's password as it creates a new user account. My task contains: - name: Create oracle user ansible.builtin.user: name: oracle state: present uid: 54321 group: oinstall groups: dba,asmdba,backupdba,dgdba,km

Re: [ansible-project] Ansible 'user' module won't set expected password

2023-09-18 Thread Kosala Atapattu (කෝසල අතපත්තු)
Have you tried a simpler password to see whether it works?KoSent from my iPhoneOn 19/09/2023, at 7:43 AM, 'Ansible Project' via Ansible Project wrote:Hi - I'm trying to use the ansible.builtin.user module to set the user's password as it creates a new user account. My task contains:- name: Create

Re: [ansible-project] Ansible 'user' module won't set expected password

2023-09-18 Thread Dick Visser
On Mon, 18 Sept 2023 at 21:43, 'Ansible Project' via Ansible Project < ansible-project@googlegroups.com> wrote: > Hi - I'm trying to use the ansible.builtin.user module to set the user's > password as it creates a new user account. My task contains: > > - name: Create oracle user > ansible.built

[ansible-project] Install multiple named packages with 'community.general.zypper'

2023-09-18 Thread 'Terry Lemons' via Ansible Project
Hi - I need to install ~30 specific packages on a SLES 15 system using Ansible. Instead of specifying 30 individual 'community.general.zypper' tasks, I'd like to run a single 'community.general.zypper' task and provide it either with a long list of packages or a filename containing the package

Re: [ansible-project] Install multiple named packages with 'community.general.zypper'

2023-09-18 Thread Dick Visser
On Mon, 18 Sept 2023 at 22:16, 'Terry Lemons' via Ansible Project < ansible-project@googlegroups.com> wrote: > Hi - I need to install ~30 specific packages on a SLES 15 system using > Ansible. Instead of specifying 30 individual 'community.general.zypper' > tasks, I'd like to run a single 'communi

Re: [ansible-project] Install multiple named packages with 'community.general.zypper'

2023-09-18 Thread Wei-Yen Tan
It is possible. If not within the the module use with_items or loops. Give zypper a list Sent from Outlook for iOS From: ansible-project@googlegroups.com on behalf of Dick Visser Sent: Tuesday, September 19, 2023 8:19:55 AM To: ansible-pr

Re: [ansible-project] Ansible 'user' module won't set expected password

2023-09-18 Thread 'Terry Lemons' via Ansible Project
Hi Dick Exactly! argh, I didn't see that problem. This worked fine: - name: Create oracle user ansible.builtin.user: name: oracle state: present uid: 54321 group: oinstall groups: dba,asmdba,backupdba,dgdba,kmdba,racdba password: "{{ ansible_password | password_hash('sha

[ansible-project] Removing collections

2023-09-18 Thread 'Eric Jolley' via Ansible Project
Hello All, I have an Ansible server with collections that are stored under a user context in "/home/user/.ansible/ansible_collections/" in addition to the collections for all users that are stored in "/usr/lib/python3/dist-packages/ansible_collections/". I found that there are some duplicates

Re: [ansible-project] GUI Display over SSH on Windows server

2023-09-18 Thread Wei-Yen Tan
Doesn't work that way Sent from Outlook for iOS From: ansible-project@googlegroups.com on behalf of Michele Sent: Tuesday, September 19, 2023 4:32:28 AM To: Ansible Project Subject: [ansible-project] GUI Display over SSH on Windows server