Re: [ansible-project] Community mail module not working

2022-07-13 Thread 'Felix Fontein' via Ansible Project
Hi, > I'm running Ansible --version > > > ansible 2.10.8 please note that ansible-base 2.10 is End of Life since May 2022. We suggest to upgrade to ansible-core (2.11 or later). > I installed the community.general collection using : > ansible-galaxy collection install community.general > >

[ansible-project] Community mail module not working

2022-07-13 Thread Gregory Machin
Hi, I'm running Ansible --version ansible 2.10.8 config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/dist-packages/ansible executable location =

Re: [ansible-project] Regards refrence playbook

2022-07-13 Thread Dick Visser
Those are very specific requirements, I think it's quicker to write such a playbook than search for that exact functionality elsewhere. On Wed, 13 Jul 2022 at 17:43, Pritam Dadhe wrote: > Hello Team > > I need playbook for reference, trying to create playbook for Linux > hardening. > > Task1 :

[ansible-project] Regards refrence playbook

2022-07-13 Thread Pritam Dadhe
Hello Team I need playbook for reference, trying to create playbook for Linux hardening. Task1 : need to ensure that below filesystem are disable. Below filesystem are already disabled just need to confirm filesystem are in disabled mode -cramfs , UDP, vfat, squash. Task2 : Ensure nodev, nosuid

[ansible-project] file does not do what it should - inside a role

2022-07-13 Thread dulhaver via Ansible Project
I have a ./roles/pgBackRest_install/tasks/main.yml aiming to install pgBackRest. the entire roles goes through without any problem but these 2 TASKS are practially not havin any effect on the target. neiter /etc/pgbackrest/pgbackrest.conf, nor /var/lib/pgbackrest are being created (eventhough

[ansible-project] ssh via Ansible playbook and vagrant

2022-07-13 Thread עידן שלום
I am using vagrant to run ubuntu VM on my Mac. I am trying to provision vagrant with the playbook I wrote but when I do im getting an error about the host. this is my Vagrant file: Vagrant.configure("2") do |config| VAGRANT_DEFAULT_PROVIDER = "virtualbox" config.vm.hostname =

[ansible-project] ssh via Ansible playbook and vagrant

2022-07-13 Thread עידן שלום
I am using vagrant to run ubuntu VM on my Mac. I am trying to provision vagrant with the playbook I wrote but when I do im getting an error about the host. this is my Vagrant file: Vagrant.configure("2") do |config| VAGRANT_DEFAULT_PROVIDER = "virtualbox" config.vm.hostname =

[ansible-project] Ansible Loop

2022-07-13 Thread Gerry Hall
I am installing several Tomcats on the same server which requires several different tasks. To do this I am using *with_items: "{{ TomCats }}"* for each task where TomCats is something like the below and contained in a vars_files. I have an Ansible role that I use for this which my playbook