ct is completed (say 12 months). Consequently I
had hoped that some members of this group may like to discuss. I can
be reached using "JamesBTobin (at) Gmail (dot) Com". Kind regards,
James
--
You received this message because you are subscribed to the Google Groups
"Ansibl
Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the w
ached using "JamesBTobin (at) Gmail (dot) Com".
Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubsc
t may like to discuss further. I can be reached
using "JamesBTobin (at) Gmail (dot) Com". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it,
using "JamesBTobin (at) Gmail (dot) Com". Kind
regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@
will be based in London and/or Singapore.
I had hoped that some members of this group may like to discuss
further. I can be reached using "JamesBTobin (at) Gmail (dot) Com".
Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansibl
esses; moving away from virtual
machines. I had hoped that some members of this list may like to
discuss further. I can be reached using "JamesBTobin (at) Gmail (dot)
Com". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansibl
om". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To view this discussio
scuss further. I can be reached using
"JamesBTobin (at) Gmail (dot) Com". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an
Gmail (dot) Com". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To view t
Gmail (dot) Com". Kind regards, James
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To view t
service impact. Exposure to at least one asset class and the FIX protocol
preferred. Consequently, I hoped that some members of this list may like
to discuss further. I can be reached using "JamesBTobin (at) Gmail (dot)
Com". Kind regards, James
--
You received this message b
Have some problem
ansible --version
ERROR! Unexpected Exception, this is probably a bug: module
'ansible.constants' has no attribute 'CONTROLLER_PYTHON_WARNING'
the full traceback was:
Traceback (most recent call last):
File "/usr/bin/ansible", line 76, in
if C.CONTROLLER_PYTHON_WARNING an
I actually figured it out, should use the -l
-i ./inventory/hosts -l Windows
Works like a charm!
On Saturday, October 16, 2021 at 10:56:29 AM UTC-7 James Ngo wrote:
> I have changed to "host: all" per your suggestion, it unfortunately did
> not help...
> It does not like
pecific group (which I want to)
Thank you
On Saturday, October 16, 2021 at 10:37:54 AM UTC-7 dick@geant.org wrote:
> That "*" is a bit unusual (to me at least).
> Try:
>
> hosts: all
>
> And then see if the issue is still there
>
>
> On Sat, 16 Oct 2021 a
laybook itself.
> What does that look like?
>
> On Sat, 16 Oct 2021 at 18:26, James Ngo wrote:
>
>> Hello everyone,
>> I am a pretty new face to Ansible. I can follow instruction pretty good
>> however, I need your help with the following scenario.
>> I created
Hello everyone,
I am a pretty new face to Ansible. I can follow instruction pretty good
however, I need your help with the following scenario.
I created an .INI style inventory file called "hosts", with basically
categorize our devices/servers in different groups like below
+++
[
Hello!
I have 2 remote hosts and 1 master node with my playbooks. I want that file
with name ".env" was copy with module "Fetch" to Master node and then, with
module "copy" will copy to Remote host 2
*hosts:*
[jitsi]
185.139.68.189
[VideoBridge2]
46.17.104.103
[Jitsi_Stack]
185.139.68.189
Have you tried to put the line in double quotes? I'm not sure if it's
always required, however, some of my 'or' statements will not work without
them so I just put all of them in double quotes.
when: "(item.key is not regex("(Port|Vlan)"))
or (item.key not in po_ints)"
On Monday, Novem
cated, but now I can't find where
> it says so. Is this method being deprecated, or am i mis-recollecting?
>
You're doing it properly. There is also ansible_ssh_pass, but that's been
emphasized less in favor of the ansible_password transport-agnostic version.
V/r,
-runner is 1.4.6.
Is there a projected release date for ansible-runner 2.0?
Thanks,
James Allen
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
The galaxy releases are lagging behind, but this probably is what you want:
https://github.com/ansible-lockdown/RHEL7-CIS
V/r,
James Cassell
On Thu, Sep 10, 2020, at 4:26 AM, Josephsimon Arokiaraj wrote:
> Hi All,
>
> How you doing?
>
> Do we have any playbooks/roles for
JYL,
Appreciate the recommendation. I should have mentioned that the Windows OS
is 2008r2. I did try this module before submitting and per the win_share
module docs and error message after run, this OS is not supported by the
win_share module.
James
On Wed, Aug 12, 2020 at 12:45 AM Jean-Yves
> On Mon, 8 Jun, 2020, 10:54 pm James Cassell,
> wrote:
> >
> > On Mon, Jun 8, 2020, at 11:25 AM, Mukuntha rajaa wrote:
> > > Hello,
> > >
> > > "become" works perfectly fine with "command" module. Bu
*
> fatal: [localhost]: FAILED! => {"msg": "an error occurred while trying
> to read the file '/etc/ssh/sshd_config': [Errno 13] Permission denied:
> b'/etc/ssh/sshd_config'"}
>
You want `remot
u'll further find
it difficult to type `ansible -m community.general.my_module ...` using the
very long name versus the short name you've always used before.
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To
On Mon, Jun 1, 2020, at 11:49 AM, Brian Coca wrote:
> The 'implicit localhost' is not part of ALL:
> https://docs.ansible.com/ansible/latest/inventory/implicit_localhost.html
>
Documentation gold!
Thanks!
V/r,
James Cassell
--
You received this message because you ar
> On Sun, May 24, 2020 at 4:08 PM James Cassell
> wrote:
> >
> > On Sun, May 24, 2020, at 6:56 PM, Tony Wong wrote:
> > > ---
> > > - name: get info vm
> > > hosts: localhost
> > > connection: local
> > > gather_facts: fal
rk$
> tony@ubuntu:~/ansiblework$
> tony@ubuntu:~/ansiblework$
> tony@ubuntu:~/ansiblework$ ansible-playbook vmware_tools.yml
>
>
>
>
>
> why is it when i run this pb
>
> I get nothing but this
>
> [WARNING]: provided hosts list is empty, only localhost is
t;
>
> I explain, if i don't use --limit, my playbook will deploy on all my
> devices.
> Me, I want my playbook don't run if --limit is not defined on my run
> ansible-playbook command
>
I use
- hosts: "{{ ansible_limit }}"
V/r,
James Cassell
--
You re
LED! => {"changed": false, "msg": "This command
> has to be run under the root user.", "results": []}
>
>
> Can you please tell me which configs should be made in order to install
> services on ansible user?
>
Pass `-b` to your ansib
inx Exists]
fatal: [142.93.15.195]: FAILED! => {"msg": "Missing sudo password"}
On Saturday, April 18, 2020 at 5:25:04 PM UTC+4, Stefan Hornburg (Racke)
wrote:
>
> On 4/18/20 3:13 PM, George James wrote:
> >
4:42:09 PM UTC+4, Stefan Hornburg (Racke)
wrote:
>
> On 4/18/20 2:05 PM, George James wrote:
> > I create a new user using ansible called `nginx`, `nginx` is part of the
> sudo group a, but when I try to do an apt
> > install with this user I get the below error
&g
I create a new user using ansible called `nginx`, `nginx` is part of the
sudo group a, but when I try to do an apt install with this user I get the
below error
```
: FAILED! => {"changed": false, "msg": "Failed to lock apt for exclusive
operation"}
```
What is the cause of the error and how c
In the below playbook, I specify that ansible should run with the nginx
user, but at the end when the task is run and I check in the process, I see
that the last process runs with root.
Also, when I try to override this by adding become nginx on that last user,
the scripts stops working and eve
I have the below task in ansible, but when I take a look at the process
using `ps aux | grep nginx`, I see that the process is being run by the
root user instead of the nginx user is there a way I can fix this.
- name: Install Nginx Ubuntu
hosts: all
remote_user: "{{ NGINX_USER }}"
become: yes
Thanks Orkhan, but the same issue
On Wednesday, April 15, 2020 at 8:54:51 AM UTC+4, Orkhan Mammadov wrote:
>
> Run the file from the directory, where your config file is located.
>
> On Wednesday, April 15, 2020 at 7:46:36 AM UTC+4, George James wrote:
>>
>> I am new to
I am new to ansible.
I create an inventory file
[web]
167.172.xxx.xxx ansible_connection=ssh ansible_user=root
ansible_ssh_private_key_file=~/.ssh/id_rsa.pub
Then I run
ansible web -m ping -i hosts -
But I am presented with the following log and error
ansible 2.9.6
config file = No
IIUC, it's no longer possible to
add non-namespaced modules or plugins, and best you can do is
community.general.my_module.)
V/r,
James Cassell
[1]
https://meetbot.fedoraproject.org/ansible-meeting/2020-03-17/ansible_core_public_irc_meeting_https:github.comansiblecommunityissues528.2020
nd_result
> failed_when: command_result.rc == 0 and action == "onboard"
>
>
> rescue:
> - name: Print custom conditional debug message
> fail:
> msg: >-
> {{
> command_result.rc == 0 |
You're missing parenthesis around the condition.
V/r,
J
gt; if connections are terminating like this?
>
>
>
> Full debug output here:
> https://gist.github.com/johnbateman/c2257c750798d1f48adc95deb66e3b61#file-gistfile1-txt
>
>
Maybe try just 3 v's... I got lost in the output.
V/r
James Cassell
>
> `
> `an
quot; with prod server ip (identified as part of step 2), it
> fails.
>
Make sure the host is in your inventory, or try add_host to get it there.
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscri
les. The core team has no
interest in taking on more modules. Even the very useful ini_file module is
community and preview.
For the topic at hand, check out the linux-system-roles project, which is
shipped and supported in RHEL as rhel-system-roles. [1]
V/r,
James Cassell
[1] https://github.com
quot;dzdo su -", then you should talk to your
security folks to get a saner policy. (There's likely hacks that can be done,
but "hacks")
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To uns
On Tue, Feb 4, 2020, at 12:03 AM, James Cassell wrote:
> On Mon, Feb 3, 2020, at 8:56 PM, Cloud09 wrote:
> > Hello Team,
> >
> > I am writing a playbook to start weblogic servers, could anyone help me
> > any syntax errors, I could not make item/item display as it sho
filepath
> - stopservers
Instead of loop, I'd recommend with_together.
- name: Start the managed server(s)
command: "{{item.0}}/{{item.1}}"
with_together:
- "{{filepath}}"
- "{{stopservers}}"
V/r,
James Cassell
--
You received this message bec
comparing two static strings here that will never
match. You probably meant to do something like
when: item is regex('your regex')
See for examples:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html#testing-strings
V/r,
James Cassell
> with_items: "{
Hi all,
using strace on the ansiballz
strace -o st -s -e openat,open,readlink,stat,lstat -f python3.7
/home/mdupont/.ansible/tmp/ansible-tmp-1579783694.3938165-128929969192073/AnsiballZ_sqs_queue.py
Shows
7150 openat(AT_FDCWD, "/etc/boto.cfg", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
such fi
d': False, 'ansible_facts':
> {u'discovered_interpreter_python': u'/usr/bin/python'}})
>
> ok: [localhost] => (item={'failed': False, 'ansible_loop_var': u'item',
> u'volume_attachments': [], 'item&
.
I often use
`hosts: "{{ ansible_limit }}"`
So the playbook runs against the hosts passed to the -l cli option. I've also
seen folks swap ansible_limit for target, then force playbook operators to
specify -e target=mygroup
V/r,
James Cassell
--
You received this message beca
'--quantity', quantity] rc, stderr, stdout =
> self.module.run_command(args, check_rc=True) else:
> self.module.fail_json(msg='Pool ID: %s not in list of available pools'
> % pool_id) return pool_ids
> `
>
> I was wondering if it should be patched to de
dversion: 19.10
> `
You need to make it a string by quoting it; otherwise it's treated as a
floating point number. This is yaml behavior.
V/r,
James Cassell
>
> However the resulting filename for the above once rendered is "19.1"
> Ill confess to not know how to
ansible version
root@DESKTOP-NI19EMN:/etc/ansible# ansible --version
ansible 2.9.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-pac
Good Morning,
I am pretty new to Ansible, I had built an AWX Tower some months ago,
but had to let it sit. Last week I started working on it again when that
instance got stuck in an upgrade loop. I spent a few days trying to
reinstall and in the end, I couldn't get passed a specific error.
instead forgo separating inventory from playbook
group_vars.
I, too, would be interested in an explanation of why the order is what it is.
I've been bitten by it in the past.
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible
On Tue, Oct 8, 2019, at 8:58 AM, Troy Cosson wrote:
[re-ordered]
>
>
> On Monday, October 7, 2019 at 4:12:36 PM UTC-5, James Cassell wrote:On
> Mon, Oct 7, 2019, at 4:19 PM, Troy Cosson wrote:
> > > I'm trying to get a Red Hat server (RHEL7) to join a Windows Active
xpect
> delegate_to: localhost
>
>
Try \n instead of \r. This is more a question about expect than ansible. You'll
also have to worry about special chars in the password, as parsed by TCL.
(Obviously you need the expect command available on the target system.)
A better approach mig
quot; folks to trawl the internet for "internal"
information, and then take action against the person who "leaked" it. Been
there, experienced that.)
Hopefully the auto locking can be reconsidered.
V/r,
James Cassell
--
You received this message because you are subscribed to th
sign, though I would be interested if you
found a way to do it.
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsu
oncatenating variables together, including trying the 'vars' lookup
> plugin, but I have not been able to work this out after two days of
> trying. So, here I am, back at the well, looking for another answer.
> Does anyone have any advice?
>
>
V/r,
James Cassell
--
Y
On Tuesday, 30 July 2019 7:19:22 AM AEST kamran taherpour wrote:
> Hi,
> I'm receiving following error for Ansible ping command
>
> <10.26.64.67> Failed to connect to the host via ssh: OpenSSH_7.4p1, OpenSSL
> 1.0.2k-fips 26 Jan 2017
>
> debug1: Reading configuration data /etc/ssh/ssh_config
>
>
aw in output key
> "*ansible_os_family*", not "*os_family*"? Should I delete all leading
> "ansible_" from output setup module? Is it documented?
>
There is an effort to move gathered facts into their own namespace under
ansible_facts, dropping the ansib
facts.distribution_major_release}}"
>
> So what is the difference? Why does it work as expected in the debug
> task but not in the shell task?
>
You're doing a double lookup here. Once in with_items and again by using `var`
instead of `msg`
V/r,
James Cassell
--
You
Hey all,
I'm having an issue using the aws_ec2 inventory plugin and I can't seem to
find a solution.
ansible 2.8.1
config file = /home/jwallace/nxt-devops/ansible/ansible.cfg
configured module search path =
[u'/home/jwallace/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']
> >> The error appears to have been in '/home/pidansible/test_playbook.json':
> >> line 4, column 5, but maybe elsewhere in the file depending on the exact
> >> syntax problem.
> >> The offending line appears to be:
>
>
> What am I doing wron
nf_copr module
to accomplish that goal, or an extra feature to yum_repository module, however.
> Marcin
>
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiv
I have been unsuccessful at installing a Vormetric driver onto CentOS. I
am using the 'expect' module and have tried various question:answer pairs,
but nothing completes successfully. Due to the isolated environment I
work in, I am unable to copy the playbook I'm using, but I do have the
dri
task for copy"
> copy:
> src: /somerepertory/myrepertory1/
> dest: /somerepertory/myrepertory1/
>
Use synchronize. There's no support for recursive copy in the copy module.
V/r,
James Cassell
>
> But this module do scp -rp or not ?
>
> Thanks for your a
Hey,
I've been pulling my hair out over what seems like a relatively simple task
for hours now.
I've working on playbook for an Elasticsearch deployment. One requirement
for this is a config file item that is effectively just a comma separated
list of hostnames or IP's of nodes.
e.g.
disco
? Maybe try `args: chdir=/mydir`
V/r,
James Cassell
> would you please let me know how can i do change the current directory in
> the remote host?
>
> Kevin
>
>
>
> =
ou should have the rescue block do what
is necessary to recover from your SQL script, or use something like a SQL
transaction, but, again, it's beyond the scope of ansible.
V/r,
James Cassell
> So what to put in the rescue section?
>
> Thanks for your help ! :)
>
> Regards,
; ..
>
> i want that if one task fails, I want him to go back on all the tasks that
> play it.
>
You can write rollback tasks in a `rescue` section, followed by a fail task,
but there is no automatic rollback functionality unless you write it yourself.
V/r,
James Cassell
;RedHat' %}\
> {{ cusers.append('redhat_user') }}\
> {% else %}\
> {{ cusers.append('other_user') }}\
> {% endif %}\
> {{ cusers }}"
Another way:
users2: "{{ ['user1',
Please stop the spam. Your message came thru the first time. Also, please
don't spam individual members of the list with the same question you sent to
the list.
Thanks.
R,
James Cassell
On Wed, May 1, 2019, at 9:33 PM, chandrasekhar Mallishetty wrote:
>
>
> On Thursday, Ma
This is a better question for the ansible-project list.
V/r,
James Cassell
On Wed, May 1, 2019, at 4:45 PM, chandrasekhar Mallishetty wrote:
> is there any example working code that how to truncate oracle database
> table with the ansible code in jinga2 template
--
You received this m
an
make your own, though:
export ANSIBLE_BECOME_PASSWORD=mypassword
then in your ansible variables, set:
ansible_become_password: "{{ lookup('env', 'ANSIBLE_BECOME_PASSWORD') }}"
V/r,
James Cassell
> On Wed, May 1, 2019 at 3:06 PM James Cassell
> wrote:
>
On Wed, May 1, 2019, at 2:55 PM, Guy Matz wrote:
> Hello! Sorry to be so lame. What combination of environment vars do I
> need to set in order to not get prompted for a SUDO password?!
>
> I've tried setting ANSIBLE_BECOME_PASS and ANSIBLE_ASK_BECOME_PASS=False
> but I still get prompted . ..
>
On Thu, Apr 18, 2019, at 9:50 AM, vikram acharya wrote:
> Hello Jonathan
>
> Thanks for support can you help with more detail If possible.. am kind of
> new ansible world .. is their any mistake in play book ?
>
>
You need 'gather_facts: yes'
V/r,
James Cass
On Thu, Apr 4, 2019, at 2:18 AM, sergey.mihai...@gmail.com wrote:
> I start playbook : ansible-playbook win_install_ascon.yml --ask-pass
>
> define in playbook:
> ...
> ansible_become_pass: "{{ remote_pass }}"
ansible_become_password: "{{ ansible_pas
t;
> loop: "{{ nginx }}"
>
>
> This is working well.
>
> But I need to have the choice of the environment.
>
> I tried this:
>
> - debug:
> msg: "{{ lookup('vars', 'item.' + environnement }} "
msg: "
roups with those types of characters so you can always do
groups.group_name. Just don't call your group "get", "copy", "keys", "items",
or a host of other special values...
Using "---" as an inventory_hostname is fine, though.
V/r,
James Ca
I am trying to output what shift an event has happened depending on the
time of day, but keep running into errors or getting nothing back.
---
- hosts: localhost
vars:
shift: "{{ 'First Shift' if ansible_date_time.time > '09:00:00' &&
ansible_date_time.time < '17:00:01' else '' }}"
omatically install all
the packages at once, so there's no warning that ansible will stop doing so in
a future release. In any case your playbook will continue to have the same end
result as it does today, with our without changes to squash this warning.
V/r,
James Cassell
> task despite t
Yes that worked, but for the client I am working with, I am unable to
change the validation. How would I define it so that test_out.test would
work?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop rec
Thanks Syed. I added a validation step and that is failing.
Updated playbook
---
---
2 - name: Test playbook
3 hosts: localhost
4 connection: local
5 vars:
6 test: hello
7
8 tasks:
9 - name: test var
10debug:
11
I am trying to figure out why my variable is not defined and have not been
able to find any solutions online.
Can anyone help?
test.yml
---
- name: Test playbook
hosts: localhost
connection: local
vars:
test: hello
tasks:
- name: test var
debug:
msg: "{{ te
uirements are needed on the host that executes this module.”
> boto
> boto3
> botocore
> python >= 2.6
>
>
> What is “the host that executes this module”? Is this the control host
> where you installed Ansible or the remote host that you want to change with
> the
sed to invoke the
Ansible command line tool
https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html
V/r,
James Cassell
> ```yaml
> [default]
> localhost ansible_python_interpreter=/Users/cduong/.pyenv/shims/python
> ```
>
> However, after the execution, A
e import are applied to each task imported.
V/r,
James Cassell
> - name:
> hosts: rchadm01
> vars_files:
> - var.yml
> tasks:
> - name:
> add_host:
> name: "{{ decom_host }}"
> groups: decom_host_group
>
> - import_pla
s is that it is finding the empty string marker at BOF and finding
nothing between the zero length marker and itself, this adding the block
unconditionally. You will have more luck with a non empty marker.
V/r,
James Cassell
>
>
> *Playbook:-*
> cat resolv_add.yml
> ---
> - host
On Fri, Feb 15, 2019, at 8:35 AM, Deepan M wrote:
>
> Hi James,
>
> Still same problem! Can you please see below entries and correct me if
> anything wrong in that?
>
> ---
> - hosts: xerox
> become: yes
> tasks:
> - name: removelines
>
On Fri, Feb 15, 2019, at 7:45 AM, James Cassell wrote:
>
>
> On Fri, Feb 15, 2019, at 7:25 AM, Deepan M wrote:
> >
> > please someone help me to get answer for my query!
> >
> > ---
> > - hosts: testuser
> > become: yes
> > t
You'll need to move your markers from block to marker_begin and marker_end
V/r,
James Cassell
>
> ansible-playbook sudolineinfile.yml
> SUDO password:
>
> PLAY [xerox]
> ***
that locates untagged volumes, loads
> up the instance details and then tags the volumes with e.g. one or more of
> the instance tags. That may or may not be some thing you could do with
> Ansible.
>
> Regards, K.
>
>
> On Thu, Feb 14, 2019 at 2:37 AM James Morgan
> wro
Hi,
Does anybody know how to get tags applied to volumes associated with
instances created as part of an ASG?
Instances tags are propagated fine, just no way to tag the volumes that I
can see
Many thanks
James
--
You received this message because you are subscribed to the Google Groups
e with
> using version control to manage all their playbooks?
>
I'd hope everyone does. Git is the de facto standard, so go with that unless
you have a good reason to use something else.
V/r,
James Cassell
--
You received this message because you are subscribed to the Google Group
item.hostip, 'type': 'V4'}}] }}"
> with_items: "{{pool_server_ips}}"
>
> If I debug the list i get:
>
> "servers": [
> "[] + [{'ip': {'addr': [item.hostip]",
>
anuary 21, 2019 at 11:37:19 AM UTC-5, JS wrote:
>
> Hi James
>
> Apologies, I thought I'd already replied to your message!
>
> I've tried the latest version of ansible - still haven't had much luck
> with the archive module and exclude_path.
>
> I'v
eate it first
> > e.g.
> > sudo mkdir /etc/ansible/
> > sudo touch /etc/ansible/hosts
> > sudo chmod 777 /etc/ansible/hosts
Pretty sure that making the inventory executable will cause ansible to try to
run it as a script then use the output as inventory.
V/r,
James Cassell
inda",
> "msg": "[Errno 13] Permission denied",
> "rc": 13
>
>
> I'm trying to add an user on 4 machines.
> -created project directory
> -created ansible.cfg file with this content:
> [defaults]
> remote_user = ansible
>
1 - 100 of 1139 matches
Mail list logo