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
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
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
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
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
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