Hello Elliott,
I have written a bit of code that may be helpful to you. You may find it
here:
https://github.com/gahan-corporation/ansible-development/tree/master/work/elliott-barrare
Hope it helps. Best of luck to you!
On Monday, December 12, 2016 at 5:29:00 PM UTC-8, Elliott Barrere wro
Hi there,
I am trying to install Ansible on a clean, yum-updated CentOS 7.3 machine
with the Azure modules, but azure_rm.py refuses to work. I installed the
Azure SDK version rc6, and I could not spot any error. I am using file
based authentication (~/.azure/credentials), with a file that works
When you are installing from pip, you are platform independent for the most
part (except assmblr/C/etc.. compiles).
When you install via a package manager, it's a package tweaked specifically
for you platform (install location mostly).
On Monday, December 12, 2016 at 5:16:50 AM UTC-8, Gildas Co
Just to clarify, was the routing table in use by a subnet(s) at that
moment? I think AWS will not allow you to remove a resource that is
referenced by another one.
On Thursday, December 8, 2016 at 7:43:57 AM UTC+11, rc@gmail.com wrote:
>
> Using version:
>
> ansible 2.2.1.0 (stable-2.2 acad2
Yep that was it, thanks for the pointer! This throws errors but this is the
right direction.
---
- name: ANS Dev Security Group Build .v01
hosts: 127.0.0.1
connection: local
tasks:
- name: Create two new IAM users with API keys
iam:
iam_
Is the file that you're showing here a playbook, or a role file?
If it's a playbook, it needs more stuff than just the list of tasks. See
https://docs.ansible.com/ansible/playbooks_intro.html for some basics.
-Josh (j...@care.com)
(apologies for the automati
Spacing was changed and I am really at a loss.
Python 2.7.12
ansible 2.3.0
Mac
If someone can create an example that works, I will be willing to try that,
to be able to move forward.
Any help?
On Tuesday, December 13, 2016 at 8:18:24 AM UTC-5, Dan wrote:
>
> Ok I ran by using the command `ansib
Better late than never
- hosts: localhost
tasks:
- add_host:
name: "{{ item }}"
groups: elected_leader
with_random_choice: "{{ groups['web'] }}"
- hosts: elected_leader
gather_facts: no
tasks:
- debug: var=inventory_hostname
--
You received this message because you ar
Hi Kai, thanks for help...
your suggestion could be useful, but it is not the best one.
If I have let say 10 hosts and 10 config files, on each host for each FS I
need to create list where I specify which config files to deploy on which
FS.
i.e.
config1
[host1.yml]
config1: ["FS1","FS2", "FS4"]
Hi Greg, I've just created the vars as you said and it worked, thank you
very much!
On Tuesday, December 13, 2016 at 6:31:27 AM UTC-2, Greg Langford wrote:
>
> You can use host vars or group vars like the following.
>
> In the root of your ansible repo where your inventory file sits create the
>
At my virtualenv
Here is my ansible.cfg
[defaults]
host_key_checking = False
library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible
/modules
And here is my f5-text.txt
localhost]
ansible_connection=local ansible_python_interpreter=/Users/oyarimtepe/git.
gittigidiyor/ans
Ok I ran by using the command `ansible-playbook -i /etc/ansible/local
Dev-Test-IAM.yml`
Is that the fault? Do I need to specifically call the module into play?
Example: the EC2_Group in the past the module was called out in the yml
file. But I see that has changed.
---
tasks:
- name: Ass
Looks like a spacing issue. Your list of tasks needs to be indented two
spaces.
On Monday, December 12, 2016 at 4:45:06 PM UTC-6, Dan wrote:
>
> # Example of role with custom trust policy for Lambda service
> ---
> task:
> - name: Assign a policy called Admin to the administrators group
> iam_
Made the modification still no luck:
ansible-playbook -i /etc/ansible/local Dev-Test-IAM-pwr.yaml
ERROR! playbooks must be a list of plays
The error appears to have been in /Dev-Test-IAM-pwr.yaml': line 3, column
1, but may
be elsewhere in the file depending on the exact syntax problem.
The off
iden/idem - I am one of those mathematicians who can't figure out why
'identically' 'potent/powerful' should turn into ideMpotent. Apologies for
my bad spelling!
On Tuesday, December 13, 2016 at 10:13:47 AM UTC, Bit Divine wrote:
>
>
> I too love things to be idenpotent. It is no accident t
I too love things to be idenpotent. It is no accident that `check or
(install and check again)` is automatically idempotent. :-)
On Monday, December 12, 2016 at 3:11:42 PM UTC, Spike Robinson wrote:
>
> I'm kind of with BitDivine. I've been using Ansible "in anger" (at times
> literally!) on
You can use host vars or group vars like the following.
In the root of your ansible repo where your inventory file sits create the
following yaml files for host vars
host_vars/hosta
host_vars/hostb
Within these files you can now specify variables e.g within host_vars/hosta
file_path: /file/pat
17 matches
Mail list logo