[ansible-devel] Re: Do you all have a a branching and release policy?

2020-09-02 Thread Rick Elrod
Hi Bob, I've been handling our releases for the last few months. In response to your question, I wrote a short(ish) blog post, outlining some of our processes while trying to not go into too much technical detail. The post is available here: https://elrod.me/posts/2020-09-02-how-ansible-ansible

Re: [ansible-devel] saving command output from a loop in different variables

2020-09-02 Thread Mike Sawyers
I haven't tried it myself, but maybe you can make a dict object using your item as the key? https://stackoverflow.com/questions/35605603/using-ansible-set-fact-to-create-a-dictionary-from-register-results On Wed, Sep 2, 2020 at 1:43 PM Kevin Hoyt wrote: > Hi, > > I'm trying to run a command on

[ansible-devel] saving command output from a loop in different variables

2020-09-02 Thread Kevin Hoyt
Hi, I'm trying to run a command on a remote server, multiple times and need to set a fact or register different names for each. Here's the code I have for running the command: - name: 'run opctest status on PG' win_command: "opctest /cust {{ tenant_code }} /node {{ item }}" arg

Re: [ansible-devel] Ansible task not starting up custom node.js script with either shell or command module

2020-09-02 Thread 'Felix Fontein' via Ansible Development
Hi, you might want to ask this in the appropriate places, for example https://groups.google.com/forum/#!topic/ansible-project/ This mailing list / group is about discussing developing Ansible, and not for support questions. Thanks, Felix Fontein On Wed, 2 Sep 2020 12:49:48 -0700 (PDT) jonin

[ansible-devel] Ansible task not starting up custom node.js script with either shell or command module

2020-09-02 Thread jonin
Hi, Any ideas where I am going wrong here? I have a web server task which uses shell to start apache no problem: - hosts: webservers remote_user: root become_user: test become: True tasks: - name: Task18 - Start webservers back up shell: ./apache/bin/apachectl start

[ansible-devel] Ansible shell/command task can start node script

2020-09-02 Thread jonin
Hi, Any ideas where I am going wrong here. I have a web server tasks which uses shell to start apache no problem: - hosts: webservers remote_user: root become_user: test become: True tasks: - name: Task18 - Start webservers back up shell: ./apache/bin/apachectl star