dear all:
please help me how to detach volume
- name: Detach a Volume
ec2_vol:
id: vol-0a75b01a93b9e6778
region: "{{ region }}"
instance: None
PLAY [localhost]
***
TAS
Hi Ansible Gurus,
I need some suggestions for performing online opeations on a cluster.
Problem : I have a 5 nodes cluster set up by Ansible . All nodes of
cluster carrying some network traffic.
Now I want to update application software on each node , so that no traffic
is dropped.
If I update al
Just read the error message. It literally says what’s not right:
Unsupported parameters for (ec2_vol) module: instance_id
I’ve never used the module but from the docs you can see that this is the
parameter you need to use:
https://docs.ansible.com/ansible/latest/modules/ec2_vol_module.html#param
so I need use module in add volume?
On Friday, February 7, 2020 at 11:26:11 AM UTC+8, Sandy Hung wrote:
>
> Dear all:
>
> please help me thanks.
>
> - name: Create New EBS volume
> ec2_vol:
>aws_access_key: "{{ aws_access_key }}"
>aws_secret_key: "{{ aws_secret_key }}"
>
(ec2_vol) the module is not supported by anisble
On Thursday, February 6, 2020 at 7:26:11 PM UTC-8, Sandy Hung wrote:
>
> Dear all:
>
> please help me thanks.
>
> - name: Create New EBS volume
> ec2_vol:
>aws_access_key: "{{ aws_access_key }}"
>aws_secret_key: "{{ aws_secret
Dear all:
please help me thanks.
- name: Create New EBS volume
ec2_vol:
aws_access_key: "{{ aws_access_key }}"
aws_secret_key: "{{ aws_secret_key }}"
instance_id: "{{ instance_id }}"
volume_size: "{{ volume_size }}"
device_name: "{{ device_name}}"
I am trying to use the nmcli module to set DNS server and other network
related configuration rather than using templates
*Is it still broken? should i give up on this module?*
the module dependencies mention an old library which i believe is no longer
avail on centos8 - https://github.com/an
*Ansible:- *
---
- hosts: windows
vars:
ansible_connection: winrm
ansible_ssh_port: 5986
anisble_winrm_transport: kerberos
ansible_winrm_server_cert_validation: ignore
validate_certs: false
ansible_winrm_scheme: https
ansibe_winrm_read_timeout_sec: 30
win_updates:
Hi Pawan
You state: "Curl command is working fine on command line shell".
But in fact, it is not working fine, because it exits with error code
3, which (according to
https://curl.haxx.se/libcurl/c/libcurl-errors.html) means "The URL was
not properly formatted."
You would have seen that if you did
Hi Vladimir,
This Solutioñ works.
Thanks for your extended help on this.
I just tweaked something to match my requirements, overall your solution
works well for me.
Regards
Rakesh
On Thu, 6 Feb 2020, 21:27 Vladimir Botka, wrote:
> On Thu, 6 Feb 2020 20:37:37 +0530
> Rakesh Parida wrote:
>
> >
Hi
Another mail with a little bit more information.
To prevent iterating over little bits of information guessing what you
are doing, could you please tell clearly:
- What you are trying to achieve.
- How you are doing this.
- What problems you encounter.
- Which command did you run, and what out
Hi
The error is pretty self explanatory.
You need to make sure you can connect to the RDS Oracle instance by SSH.
Check out
https://docs.ansible.com/ansible/latest/user_guide/intro_getting_started.html#connecting-to-remote-nodes
On Thu, 6 Feb 2020 at 21:22, Anand Solomon wrote:
>
> Hi,
> How
I'm a greenhorn...I have this problem where I want the user to input either
dev or prod in an env prompt then I take that and access a dictionary to
get its custom properties. it works fine if I hardcode {{ dev.ip }} but if
I do a lookup it says variable dev.ip not found.
Also, let me know if t
you want to use a proxy for reaching remote server, or you want to change
proxy setting on the remote server?
regards,
andre
--
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, se
Hi,
How to even run ansible commands to the RDS Oracle instance ? Is there a
special parameter I should be passing ? . I have "connection; local" in the
task. I tried to execute the playbook, I get the below error. Am i missing
something ?
Here is my playbook variable.
vars:
oracle_home: /h
Hi,
How to even run ansible commands to the RDS Oracle instance ? Is there a
special parameter I should be passing ? . I have "connection; local" in the
task. I tried to execute the playbook, I get the below error. Am i missing
something ?
Here is my playbook variable.
vars:
oracle_home: /h
I'm new to Ansible, so I'm working my way though learning it. I have a
small very basic playbook with two tasks. The first task uses the junos
module to back the config of a switch. The second tasks changes the host
name of the switch. Ansible reports that only first task was successful.
Aft
Hi Team,
Curl command is working fine on command line shell ,but when running the
same command using Ansible shell module it's throwing error .
The exact issue coming when i am using curl command with multiple
parameters (example -i /opt/hosts proxy ) .
Here is my playbook
- name:
Hi ,
Someone barged into my ongoing Discussion . So i had to start a new
Discussion.
If my items of lists are not fixed on both the list , how do i compare
them:
Now i have one more issue on the LIST comparison:
If the numbers of items in list is not equal is there way to compare:
suppose my
On Thu, 6 Feb 2020 20:37:37 +0530
Rakesh Parida wrote:
> > I would like my o/p as below:
> > dp-steps-common-3.0.12 not equal to
> > dp-steps-common-3.0.15-1911280809_d103a.noarch
> > iam-service-default-3.1.37 is equal to
> > iam-service-default-3.1.37-1911141021_63e48.noarch
> > iam-python-comm
Thanks for the response
On Thu, Feb 6, 2020, 9:56 AM Dick Visser wrote:
> Hi
>
> You already are engaged in a conversation on this list. Branching that
> into another by verbatim forwarding a single message without context isn’t
> going to help you get better responses.
>
> Please post proper qu
Hi guys,
How can I find section name for win_security_policy?
- name: Allow Auto Update
win_security_policy:
section: System Update
key: AllowAutoUpdate
value: 0
TASK [windows-gpo : Allow Auto Update]
**
Hi Vladimir,
I have tried a lot but unable to find solution for my issue. Pls help on
this
On Thu, 6 Feb 2020, 16:38 Rakesh Parida, wrote:
> Hi Vladimir,
>
> I would like my o/p as below:
> dp-steps-common-3.0.12 not equal to
> dp-steps-common-3.0.15-1911280809_d103a.noarch
>
> iam-service-def
Hi
You already are engaged in a conversation on this list. Branching that into
another by verbatim forwarding a single message without context isn’t going
to help you get better responses.
Please post proper questions, or just wait until the volunteers here
respond to your original question.
FYI
On Thu, Feb 6, 2020, 8:36 AM vishwas govekar
wrote:
> I am working on Apache storm project using Ansible scripts ,I
> have stormconfproperties.yml which has variable values for
> supervisor_slots_ports
>
> [image: image.png]
> In my template files I have to pass it as variables .Can you help me f
You can use package facts for that:
https://docs.ansible.com/ansible/latest/modules/package_facts_module.html
On Wednesday, February 5, 2020 at 10:27:01 AM UTC+1, Stefan Hornburg
(Racke) wrote:
>
> On 2/5/20 9:48 AM, Adrian Sebastian Dutu wrote:
> > Why are you using the command module?
> >
>
I am working on Apache storm project using Ansible scripts ,I
have stormconfproperties.yml which has variable values for
supervisor_slots_ports
[image: image.png]
In my template files I have to pass it as variables .Can you help me for
supervisor.slots.ports as I have done for the remaining but
Hi Vladimir,
I would like my o/p as below:
dp-steps-common-3.0.12 not equal to
dp-steps-common-3.0.15-1911280809_d103a.noarch
iam-service-default-3.1.37 is equal to
iam-service-default-3.1.37-1911141021_63e48.noarch
iam-python-common-1.0.1 not found in list2
On Thursday, February 6, 2020 at
On Thu, 6 Feb 2020 00:42:28 -0800 (PST)
Rakesh Parida wrote:
> If the numbers of items in list is not equal is there way to compare:
> suppose my lists are:
> list1
> "dp-steps-common-3.0.12",
> "iam-python-common-1.0.1",
> "iam-service-default-3.1.37"
On 2/6/20 10:43 AM, Jeremy Njock wrote:
> Thanks for your reply.
>
> I tried to use dzdo as become option:
> |
> -name:Installsudo
> yum:
> name:sudo
> become:dzdo
> |
>
> But I encounter the same issue message.
Small wonder as you apparently failed to read or understand the documentatio
Thanks for your reply.
I tried to use dzdo as become option:
- name: Install sudo
yum:
name: sudo
become: dzdo
But I encounter the same issue message.
Op donderdag 6 februari 2020 09:33:01 UTC+1 schreef Jeremy Njock:
>
> I have an ansible playbook, wich connects to a remote server.
> On
The default become_method is sudo, and since you don't have that
available, you can't "become", and hence you can't install a package.
But, you don't HAVE to use sudo, it's just the default.
You already have an alternative privilege escalation option (dzdo).
I'd try using that first, because it is
> Host file
>
> [web_server]
> 130.1.1.1
> 130.1.1.2
> 130.1.1.3
>
> [managr_server]
> 130.1.1.5
> 130.1.1.6
> 130.1.1.7
Systemic Ansible-way would be to create a role and use group_vars. For example
1) Keep the inventory (fix "manager_server" group label)
2) Create a role e.g. "manage_drives"
Hi Vladimir,
If my items of lists are not fixed on both the list , how do i compare
them:
Now i have one more issue on the LIST comparison:
If the numbers of items in list is not equal is there way to compare:
suppose my lists are:
list1
"dp-steps-common-3.0.12",
I have an ansible playbook, wich connects to a remote server.
On that remote server sudo is not installed. I can only gather root access
with running *dzdo su - *in terminal.
I tried to run following task to install sudo
- name: Install sudo
yum:
name: sudo
become: yes
become_user: root
On 2/5/20 10:54 PM, Daniel Nanboe wrote:
> I have an inventory file where for one host I have defined the users and keys
> that I want to use in a playbook:
>
> |
> sftp_users:
> -remote_user:prod
> state:present
> long_name:prod user
> ssh_key:
> -prodkey_1
> -prodkey_2
> -remote_use
36 matches
Mail list logo