[ansible-project] Is it possible to change the Vault cipher from AES256?

2017-07-28 Thread leam hall
The stuff I've read said that AES256 is the default but I can't find what options are available and where it gets changed. Thanks! Leam -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving

[ansible-project] Book recommendations?

2017-06-12 Thread leam hall
First post, woot! I've done Puppet before and have worked on Linux for a while. Am moving to Ansible and prefer paper books to e-books. What are good books to get if you know the very basics but don't know the advanced stuff yet? Thanks! Leam -- You received this message because you are

[ansible-project] [noUsing ansible.cfg in working directory?

2017-06-26 Thread leam hall
I'm setting up multiple teams to use one ansible host. The idea is that each team has an ansible "user" that has team playbooks, ansible.cfg file, and hosts files. The directory I'm working in is ~ansible/lang/ansible ### File: ansible.cfg [defaults] become_ask_pass=True ### FIle:

Re: [ansible-project] Book recommendations?

2017-06-15 Thread leam hall
Jun 9, 2017 at 10:34 AM, leam hall <leam...@gmail.com > > wrote: > >> First post, woot! >> >> I've done Puppet before and have worked on Linux for a while. Am moving >> to Ansible and prefer paper books to e-books. What are good books to get if >> yo

[ansible-project] "Group a does not exist" when adding groups to an existing user

2017-09-22 Thread leam hall
I'm trying to add the long list of groups to the oracle user and getting "Group a does not exist." as a failure msg. Not trying to add an "a" group, and the groups I am adding exist on the host. Is there a way to get more detail on what is going on? Thanks! Leam -- You received this message

[ansible-project] Re: "Group a does not exist" when adding groups to an existing user

2017-09-25 Thread leam hall
On Friday, September 22, 2017 at 11:38:59 AM UTC-4, leam hall wrote: > > I'm trying to add the long list of groups to the oracle user and getting > "Group a does not exist." as a failure msg. Not trying to add an "a" group, > and the groups I am adding exist on

[ansible-project] Trying to use wait_for to sequence a set of reboots

2017-10-03 Thread leam hall
Not doing well. It starts here: https://github.com/LeamHall/Ansible_Test/blob/master/playbooks/reboot_nodes.yml - hosts: b2532_vms become: True vars: hosts: - genesis - exodus roles: - reboot Which should call playbooks/roles/reboot/tasks/main.yml:

Re: [ansible-project] Trying to use wait_for to sequence a set of reboots

2017-10-03 Thread leam hall
On Tuesday, October 3, 2017 at 11:31:57 AM UTC-4, Kai Stian Olstad wrote: > > On 03. okt. 2017 17:14, leam hall wrote: > > Which should call playbooks/roles/reboot/tasks/main.yml: > > > https://github.com/LeamHall/Ansible_Test/blob/master/playbooks/roles/

Re: [ansible-project] Trying to use wait_for to sequence a set of reboots

2017-10-03 Thread leam hall
On Tuesday, October 3, 2017 at 11:37:06 AM UTC-4, leam hall wrote: > > On Tuesday, October 3, 2017 at 11:31:57 AM UTC-4, Kai Stian Olstad wrote: >> >> On 03. okt. 2017 17:14, leam hall wrote: >> > Which should call playbooks/roles/reboot/tasks/main.yml: >>

Re: [ansible-project] Re: "Group a does not exist" when adding groups to an existing user

2017-09-25 Thread leam hall
On Mon, Sep 25, 2017 at 11:42 AM, 'Felix Fontein' via Ansible Project < ansible-project@googlegroups.com> wrote: > Hi Leam, > > > Following up with code. The playbook line is: > > https://github.com/LeamHall/Ansible_Test/blob/master/ > playbooks/roles/users/tasks/main.yml#L22 > > > > groups:

[ansible-project] Re: lineinfile append to line?

2017-11-17 Thread leam hall
On Thursday, November 16, 2017 at 4:42:19 PM UTC-5, leam hall wrote: > > Trying to edit grub.conf and add a phrase to the kernel lines. > > *Sample stanza:* > > title CentOS (2.6.32-696.13.2.el6.x86_64) > root (hd0,0) > kernel /vmlinuz-2.6.32-696.13.2.el6.x86_6

[ansible-project] lineinfile append to line?

2017-11-16 Thread leam hall
Trying to edit grub.conf and add a phrase to the kernel lines. *Sample stanza:* title CentOS (2.6.32-696.13.2.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-696.13.2.el6.x86_64 ro root=/dev/mapper/vg_root-lv_root rd_NO_LUKS rd_LVM_LV=vg_root/lv_root LANG=en_US.UTF-8 rd_NO_MD

[ansible-project] Re: Why file fail when directory exists?

2018-02-20 Thread leam hall
Figured it out; the playbook was trying to make the directory permission 0755 when the mounted fs is 0555. On Thursday, February 15, 2018 at 6:33:52 PM UTC-5, leam hall wrote: > > I'm creating a mount point for an ISO image, and a later task puts the > mount point in fstab. Why is

[ansible-project] File copy fails with large file

2018-02-20 Thread leam hall
# Outside of Ansible, the user ansible can scp the file in 52 seconds. # Using Ansible, even after upping the timeout to 105 seconds per https://github.com/ansible/ansible/issues/14426 # the copy fails with: fatal: [psalms]: FAILED! => {"failed": true, "msg": "Timeout (105s) waiting for

[ansible-project] Why file fail when directory exists?

2018-02-15 Thread leam hall
I'm creating a mount point for an ISO image, and a later task puts the mount point in fstab. Why is the file module erroring after the ISO is mounted? The directory exists so the task shouldn't try to recreate it. ### 148 - name: make_build_repo_dir 149 file: 150 path:

[ansible-project] Repeat a block with a different variable?

2018-04-05 Thread leam hall
Still more Ansible newbie than journeyman. Trying to figure out how to re-run a block with a different variable. Issues: 1. Ruby must be installed to compile new versions of Ruby. 2. The CentOS 6 default version of Ruby is too old to compile the newest Ruby. Plan: 1. Ensure default Ruby is

[ansible-project] Re: Repeat a block with a different variable?

2018-04-05 Thread leam hall
Most recent git push changed the line numbers to: https://github.com/LeamHall/Ansible_Test/blob/master/playbooks/dev_station.yml#L142-L188 On Thursday, April 5, 2018 at 8:04:35 PM UTC-4, leam hall wrote: > > Still more Ansible newbie than journeyman. Trying to figure out how to &g

[ansible-project] Handlers called but not working

2018-10-18 Thread Leam Hall
In the ansible output it says: META: ran handlers For this role handlers/main.yml is: - name: restart_and_enable_httpd service: name: httpd state:restarted enabled: true This is Ansible 2.6 on RHEL 6. httpd is installed earlier in the process but at the end it is

Re: [ansible-project] Handlers called but not working

2018-10-18 Thread Leam Hall
On Thu, Oct 18, 2018 at 11:37 AM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Thursday, 18 October 2018 16.01.55 CEST Leam Hall wrote: > > In the ansible output it says: > > > > META: ran handlers > > This indicates that it run all the handl

Re: [ansible-project] Handlers called but not working

2018-10-18 Thread Leam Hall
On Thu, Oct 18, 2018 at 11:56 AM Kai Stian Olstad < ansible-project+l...@olstad.com> wrote: > On Thursday, 18 October 2018 17.47.02 CEST Leam Hall wrote: > > Yes, with the note that I actually fixed the handler names to match. > > > > # tasks/main.yml > >