Please can someone help as i am having hard time to debug or troubleshoot
below ansible module tasks.
I am trying to format an ebs volume attached to an ec2 instance.i am
getting below error.
{
"changed": false,
"failed": true,
"invocation": {
"module_args": {
"dev": "/dev/xvdf",
"force": false,
"fstype": "ext4",
"opts": "-t",
"resizefs": false
},
"module_name": "filesystem"
},
"msg": "Device /dev/xvdf not found."
}
when i logged into ec2 instance and typed lsblk i can verify xvdf volume
attached.
sudo mkfs -t ext4 /dev/xvdf
above is successfully.
Similarly i am encountering unchanged modules
apt_key and apt_repository
- name: PostgreSQL | Add PostgreSQL repository apt-key
apt_key:
id: "{{ postgresql_apt_key_id }}"
url: "{{ postgresql_apt_key_url }}"
state: present
register: apt_result
- name: PostgreSQL | Add PostgreSQL repository
apt_repository:
repo: "{{ postgresql_apt_repository }}"
state: present
update_cache: true
filename: "postgres"
when: apt_result|succeeded
register: repoadd
Thanks in Advance
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/61179f87-b69e-4352-9aac-e434c9338ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.