Hi There,
I am able to get the list of subnets for a VPC ID or tag name with the help
of set_fact.
While using the subnets (Subnet Output of set_fact) to create an ALB I am
getting error as "load balancer cannot be attached to multiple subnets in
the same availability zone"
Here is the
Based on my understanding, options are done at the Ansible level, e.g.
parameters for the default ssh transport are configured in the Playbook
context [1], so I do not think I could just add further configuration
options (say "foobar") for my own transport, because apparently those
things come
I’m not sure how to make it work how you have laid out. But I would do the
check in the jinja template anyway. Get your current ntp lines. In the
jinja template run.
{% for ntp_server in ntp_config_get %}
{% if ntp_line not in ntp_servers %}
no ntp server {{ ntp_server }}
{% ending %}
{% for
Can you please paste the task that you used?
On Tue, Sep 18, 2018 at 2:07 AM Jordan Borean wrote:
> You can store the download on your own web server and use win_get_url from
> there. The trouble isn't that Ansible is failing but that Oracle is hiding
> the actual download behind a license
Hello All,
Do anyone know how to disable just a service group on netscaler using
playbook.
Thanks,
--
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
Hi Jordan,
Executed with -v..please check the below output:
$ ansible win_prod -i /tmp/winhosts.yml -m win_ping -k -v
[WARNING] Ansible is in a world writable directory (/tmp), ignoring it as
an ansible.cfg source.
ansible 2.6.1
config file = /etc/ansible/ansible.cfg
configured
Hi Jason,
Thanks for replying. That's definitely another way of doing it. However,
this is what I am trying.
1. Get the ntp server config from "sh run".
2. Store that to a list
3. Jinja template generates the required config. I am passing the
ntp_server IPs via -e (extra variables).
4. Add the
The pause module allows you to do this.
https://docs.ansible.com/ansible/latest/modules/pause_module.html
--
--
Brian Coca
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails
When I start a VNC server instance with an Ansible script, the instance of
the vncserver just a blank (all black) screen. It shouldn't be an issue
with vnc server as I can ssh into the server and start a vnc session myself
and it works fine. Any suggestions?
--
You received this message
Hello,
Will someone please help me understand why this is not work?
Thanks!
---
- hosts: all
become: yes
become_method: sudo
become_user: root
vars:
stat_files:
- name: stat_var
stat_path: "/etc/resolv.conf"
tasks:
- name: "Verify file copy destination"
You cannot use a variable as the name of the var to be registered. It must
be an explicit static string.
See the following info on the structure of registered data when using a
loop:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#using-register-with-a-loop
On Tue, Sep
I'm not sure if i'm understanding correctly, in any case, any plugin
can use the built in configuration, it does not only apply to shipped
Ansible plugins.
https://docs.ansible.com/ansible/devel/dev_guide/developing_plugins.html#plugin-configuration-documentation-standards
Currently, connection
Is it possible to use any of the s3_ and ecs_ modules for EMC ECS? ECS uses
the standard s3 API and has the same parameters such as AWS Secret Keys and
Access Keys.
I've tried using the s3_bucket module but I get 'Couldn't connect to AWS:
Invalid endpoint:' when trying to point to my ECS
Have you tried passing the *s3_url*:
On Tue, Sep 18, 2018 at 9:51 AM, Martyn Kempster
wrote:
> Is it possible to use any of the s3_ and ecs_ modules for EMC ECS? ECS
> uses the standard s3 API and has the same parameters such as AWS Secret
> Keys and Access Keys.
>
> I've tried using the
hmm...tried out lineinfile, replace and template but was not successfull?
any other creative ideas? i looked at the ini_file module source, and it
seems this is very similar to the aix stanza format. unfortunately i am at
war with regex, and this particular code is full of it.
On Wednesday,
The issue is that you are making the test on the 'current' host, but
that is not mandated, you can use the data from any/all the hosts and
use a 'select' filter to create a list of hosts that pass that test ..
so if select(,,,)|length > 1 you have an 'any' host matching
condition.
--
16 matches
Mail list logo