Re: [ansible-project] SyntaxWarnings after System Update ansible 3.9.6, Python 3.8

2021-05-10 Thread Lars Liedtke
send > an email to ansible-project+unsubscr...@googlegroups.com > <mailto:ansible-project+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/664ed677-73d2-443c-b8db-bd06ed87240bn%40googlegroups.com > &l

Re: [ansible-project] Re: Ansible suddenly fails to read vault passwords

2021-03-30 Thread Lars Liedtke
rom this group and stop receiving emails from it, send > an email to ansible-project+unsubscr...@googlegroups.com > <mailto:ansible-project+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/1a6635c4-764

Re: [ansible-project] Ansible shows error that says missing ':' even when it is already present

2021-03-26 Thread Lars Liedtke
ble-project/507c763f-5a09-4832-911b-d7886c5c4ec5n%40googlegroups.com?utm_medium=email_source=footer>. -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de i...@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling

Re: [ansible-project] Constants in ansible playbooks

2021-02-18 Thread Lars Liedtke
You could create a yaml file e.g. contants.yml and the include that via commandline parameter with -e '@constants.yml' Am 17.02.21 um 15:33 schrieb Brian Coca: > correct -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 ht

Re: [ansible-project] Ansible started giving SSH Error: data could not be sent to remote host error in several playbooks and several tasks

2021-02-16 Thread Lars Liedtke
It seems you still use python2.7, which is EOL: > /usr/lib/python2.7/site-packages/ansible/modules/files/replace.py Maybe you could upgrade your python and the problem could be gone; but no guarantees of course. -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsr

Re: [ansible-project] ansible-runner use of /etc/ansible

2020-11-13 Thread Lars Liedtke
;. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/70003EFB-EE2F-424D-A8C5-4FD258C54D87%40uchc.edu >> <https://groups.google.com/d/msgid/ansible-project/70003EFB-EE2F-424D-A8C5-4FD258C54D87%40uchc.edu?utm_medium=email_source=footer

Re: [ansible-project] How to automate ansible automation runs from Python?

2020-11-13 Thread Lars Liedtke
ogle.com/d/msgid/ansible-project/534c3966-135f-4e34-95e3-06118e9e031an%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/534c3966-135f-4e34-95e3-06118e9e031an%40googlegroups.com?utm_medium=email_source=footer>. -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13

Re: [ansible-project] Search and remove string that matches a pattern at beginning of a line

2020-11-03 Thread Lars Liedtke
Of course I made a copy error: the line definition must be without the noexec then ;-) Am 03.11.20 um 17:21 schrieb Lars Liedtke: > > Hey, > > You could use the lineinfile-module. > > With something like: > > lineinfile: >   regexp: "^/dev/mapper/vg_rhel-var_tmp

Re: [ansible-project] Search and remove string that matches a pattern at beginning of a line

2020-11-03 Thread Lars Liedtke
3-VO5RkYOzboh8d0Bz5oUYMYnTi9AoQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAHKi8CiS-9EK%2BmL1bHY3-VO5RkYOzboh8d0Bz5oUYMYnTi9AoQ%40mail.gmail.com?utm_medium=email_source=footer>. -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe