I am trying to create new instance with ec2_lc module in ansible. At the
time of bootstraping, I want to install some configurations. Those
configurations come from the public github file, its basically the ansible
playbook. But I need to mention the path for the private key file under
"hosts".
I am using github repository for my project in Ansible Tower. Main purpose
to use Ansible tower is to run the repository automatically when someone
commits any changes to the github file. I am using AWS cluster as an
inventory. I have done it manually. Currently, what should I mention in SCM
cr
Perfect. Now its done it successfully. Thanks for your help. Really
appreciate...
On Monday, 1 February 2016 14:59:16 UTC-8, Brian Coca wrote:
>
> if you export them on the remote machine, you won't have them on the local
> one
>
> boto is a required library for the module and MUST be prese
Yes. I have exported the environment variable AWS_ACCESS_KEY and
AWS_SECRET_ACCESS_KEY for my remote AWS machine. Earlier it was "boto"
error. Now it is showing the credential error. What could be the possible
problem ?
On Monday, 1 February 2016 14:15:24 UTC-8, Brian Coca wrote:
>
> That seem
Here I have modified. Now getting some other error.
---
- name: Create Cloudformation Template for Cassandra Servers
hosts: awsserver
sudo: yes
gather_facts: no
tasks:
- name: Cloudformation | Use the module cloudformation
local_action:
module: cloudformation
Here I have modified. Now getting some other error.
---
- name: Create Cloudformation Template for Cassandra Servers
hosts: awsserver
sudo: yes
gather_facts: no
tasks:
- name: Cloudformation | Use the module cloudformation
local_action:
module: cloudformation
Coca wrote:
>
> you did not respond the other 1/2 of the question, is the file on the
> machine you are executing ansible on or on the 'target'?
>
>
> On Mon, Feb 1, 2016 at 3:52 PM, Bhotu >
> wrote:
> > Hi Brian,
> >
> > I have trie
espond the other 1/2 of the question, is the file on the
> machine you are executing ansible on or on the 'target'?
>
>
> On Mon, Feb 1, 2016 at 3:52 PM, Bhotu >
> wrote:
> > Hi Brian,
> >
> > I have tried the "cassandra.json" fil
Hi Brian,
I have tried the "cassandra.json" file with the following paths:
/Users/suthata/Downloads/playbooks/ansible/cassandra.json
and /Users/suthata/Downloads/playbooks/cassandra.json...Still no directory
found error.
I am running ansible on following path:
/Users/suthata/Downloads/playboo
I am working with the following script and I have got an error. Saying that
your file is not found. Although my file is already there.
What could be the possible problem ?
Script:
.
cas_cloud.yml
--
---
- name: Create Cloudformation Template for Cassandra Servers
h
ng-SCALE-DOWN"
comparison: "<="
threshold: 20.0
alarm_actions:
- '{{ autoscaling.results[1].arn }}'
- 'arn:aws:sns:us-east-1:465404420665:Polanotify'
So, I have done the above part.. What co
create it manually on autoscaling group console for already available SNS
ARN or is there any module in ansible which supports any parameter so that
i can directly create SNS notifications in the autoscaling group ?
On Thursday, 28 January 2016 13:49:14 UTC-8, Bhotu wrote:
>
> I have been
I have been using the following line in "alarm_actions" in
"ec2_metric_alarm" module:
local_action:
module: ec2_metric_alarm
.
.
.
alarm_actions: "arn:aws:sns:us-east-1:465404482164:Polnotify"
I did created this with "sns_topic". But I am not able to link it with the
ec2_metri
Does that "arn:aws:sns:ap-southeast-1:779200210943:chanakaalerts" works ?..
I am getting the unusual error saying
"msg": "BotoServerError: 400 Bad Request\nhttp://monitoring.amazonaws.com/doc/2010-08-01/\";>\n \n
How to create the notification with ec2_metric_alarm module ?.. I created
with
Here is my ansible-script to create alarms and notification through
ec2_metric_alarm module. I can successfully create the scaling part, but
I cannot able to create the SNS notification.
- name: Create or delete AWS metric alarms metrics you wish to alarm on
must already exists
I am currently working with AWS Autoscaling. In order to communicate with
the AWS instance, we need ssh keys and that has to be on to your local
machine. I need to configure the same server without downloading the keys
on to my machine. Is it possible that I can create an inventory and SSH
keys
I am currently working with AWS Cloud instance on Ansible tower. I followed
all the procedures same as the documentation. When I ran my playbook, it
shows me "Unreachable".
I have got SSH Error, Saying permission denied. I have added my DNS Public
name as the Host name in the inventory and
I am working with AWS instances currently and want to transfer all the
configuration that is currently running on AWS master node to the multiple
AWS slave nodes with Ansible only. Slave nodes may be 2 or 3 or may be
more. Is it possible with the Ansible-Pull model to automatically scale the
Hi I can only find all the subnets in the same availability zones which is
us-east-1a only. I want each of my subnets into different availability
zones in AWS.
On Tuesday, 15 December 2015 10:46:43 UTC-8, Josh Smift wrote:
>
> B> I am Working on putting subnets into different availability zones
I am Working on putting subnets into different availability zones with the
help of ansible. I want to put subnet1 into us-east-1a, then subnet2 into
us-east-1b and so on. Currently I can only be able to put servers onto
us-east-1a only. Here is the ansible scripts.
---
- name: Create AWS VPC
I want to copy files from one server to another using Ansible. Below is the
example
Server A --> Server B
Server C --> Server D
I have my one file on Server A and specifically want to copy that file on
to the server B, and same for server C to D. Folder to save files to the
destinati
Let us say, I have four servers. A,B,C and D. I want to deploy SSH public
keys from A to C and also from C to D. How can I do with ansible playbook ?
On Saturday, 3 August 2013 07:19:19 UTC-7, Sylvain Wallez wrote:
>
> Hi there,
>
> I've recently fallen in love with Ansible and I'm "playbook'ing"
22 matches
Mail list logo