[ansible-project] How to get latest Ansible for Ubuntu 20.04

2020-08-18 Thread Todd Sampson
When will the Ansible PPA be available for Ubuntu 20.04? I get the following error using Ansible 2.9.6 running on Ubuntu 20.04: Malformed output discovered from systemd list-unit-files: accounts-daemon.service Googling suggests, sytstemd changed some formatting. Update Ansible to 2.9.7. apt

[ansible-project] Possible to update target OS from an ISO?

2019-01-08 Thread Todd Sampson
We have several remote target machines running Ubuntu 12.04. Is it possible for Ansible to install Ubuntu 18.04 on the target machines from an ISO? I'm trying to avoid an update to 14.04 and then 16.04 and then 18.04. I'd like to avoid any updates at all and just do a fresh install of 18.04.

[ansible-project] Re: Possible to update target OS from an ISO?

2019-01-16 Thread Todd Sampson
onfigured all the same. And we have SSH access into all the targets. If you have any more thoughts, I'd appreciate any ideas! Thanks, Todd On Tuesday, January 8, 2019 at 2:04:49 PM UTC-5, Todd Sampson wrote: > > We have several remote target machines running Ubuntu 12.04. Is it &g

[ansible-project] setup module fails sometimes

2019-05-09 Thread Todd Sampson
When I run a playbook, sometimes a target gets in a mode where the setup module fails. Other times it runs just fine. Can anyone give me any ideas of what might be going on? Kindof looks like: https://github.com/ansible/ansible/issues/48859 If I run with ansible all -m setup --limit sundowner

[ansible-project] Re: setup module fails sometimes

2019-05-10 Thread Todd Sampson
Sorry. I actually run the playbook with: ansible-playbook -e 'target_os=rescue' bootTo.yml -vvv On Thursday, May 9, 2019 at 4:47:55 PM UTC-4, Todd Sampson wrote: > > When I run a playbook, sometimes a target gets in a mode where the setup > module fails. Other times it r

[ansible-project] apt returns msg: No package matching...

2014-04-02 Thread Todd Sampson
The apt module returns: *msg: No package matching 'nypa-comtrade-mod' is available* when I try to install a .deb package *that I made*. Here's the playbook: *---* *- hosts: server1* * sudo: True* * user: dfr* * remote_user: dfr* * tasks:* * - name: install nypa-comtrade-mod* *apt: up

[ansible-project] apt returns: No package matching... but apt-get install on managed host works

2014-04-11 Thread Todd Sampson
I'm fairly new to Ansible. I really like it but can't get past this show stopper. If anyone can offer any hints, I sure would appreciate it. The package I'm trying to install is my own. Something may be wrong with it but it installs fine with apt-get. Normal packages install OK. Running *apt

Re: [ansible-project] apt returns: No package matching... but apt-get install on managed host works

2014-04-11 Thread Todd Sampson
nly > available on i386, and the idempotent ansible apt module isn't capable of > dealing with that? > > > On 04/11/2014 01:21 PM, Todd Sampson wrote: > >> I'm fairly new to Ansible. I really like it but can't get past this show >> stopper. If anyone can

[ansible-project] Why are hosts embedded in a play?

2014-05-07 Thread Todd Sampson
I'm a newcomer but there's one thing that bothers me. It seems that plays always have the hosts to be acted on embedded in the play itself. What if you wanted to run a play against different hosts? For example, you might want to run the play against your test setup. If all goes well, you mig

[ansible-project] error: (4, 'Interrupted system call')

2014-07-15 Thread Todd Sampson
I'm using the Ansible PlayBook class in my own Python program. My playbooks usually run fine but occasionally I get the error below. Can you give me any hints as to why this is happening? Googling seems to suggest that it might be related to a time-out. When it fails, it happens pretty quic

[ansible-project] 'command with_items creates' syntax

2014-10-06 Thread Todd Sampson
I'm trying to generate pgp keys. Can't find anything with Ansible to do it so I'm using Linux commands. If the keys are already generated, I don't want them to be generated again. So, I need to use 'creates'. I found this site: https://u.osu.edu/hasnan.1/2013/12/16/ansible-run-multiple-com

[ansible-project] pyinstaller can't pick up Ansible plug-ins

2014-10-30 Thread Todd Sampson
PyInstaller is a program that goes through your Python code and finds all the dependencies and creates a folder or file that you can distribute. This file can be run on other computers without the need to install anything. My program runs on Ubuntu. It calls Ansible-playbook I think my problem