Re: [ansible-project] URI Multipart for Image file

2021-09-24 Thread AC
uot;max-age=31536000", "transfer_encoding": "chunked", "url": " https://192.x.x.x/api/settings/images";, "x_content_type_options": "nosniff", "x_frame_options": "SAMEORIGIN"} On Fri, Sep 24, 2021 at 6:57 PM Mat

[ansible-project] URI Multipart for Image file

2021-09-24 Thread AC
Hello All, I am trying to upload the image using below URI API call with multipart/form-data as i have almost 1 to 6 image to be uploaded at a time. For testing i am only trying with the image 1. Task work as expected but the issue is upload image are all scattered. I tried to upload using

Re: [ansible-project] ansible module to read log file

2021-08-04 Thread AC
Yes, I guess the same. Regards AC On Wed, 4 Aug, 2021, 1:29 pm Dick Visser, wrote: > Is this some license key or something? > Either way, if this software can only send it to the system log, then > in this case shell+grep is probably the best option. > > On Wed, 4 Aug 2021 at 0

Re: [ansible-project] ansible module to read log file

2021-08-03 Thread AC
look for license acquired in output.stdout Above works perfectly. But I am looking for a way to achieve this using other module and not the shell module Regards AC On Tue, 3 Aug, 2021, 2:22 pm Dick Visser, wrote: > Registering the entire /var/log/messages in a variable sounds like a bad >

[ansible-project] ansible module to read log file

2021-08-03 Thread AC
to find out the way to make use of module only. hence is there any module apart from slurp and shell which can read the file content and register it? *NOTE: for lookup I was not able to read /var/log/messages with type as file and there is nothing as log available * Regards AC -- You received

Re: [ansible-project] Assert using Regex

2021-05-18 Thread AC
Hi Dick, Sorry for reverting for back late. Thanks a lot for the above sample. this really help me. Regards Amit On Friday, May 14, 2021 at 9:39:27 PM UTC+5:30 dick@geant.org wrote: > You can also first extract that number so you can use the standard >, > < etc tests, for example: > > - se

[ansible-project] Changing remote_tmp path to a rooted directory.

2019-07-25 Thread AC Zabala
Hi! Kinda new to ansible. So I am currently running a playbook using *user1* on a remote host *host*. I am planning to change the remote_tmp directory to */app/ansible/tmp/* (owned by root) and I am having this error. {"changed": false, "msg": "Authentication or permission failure. In some case

[ansible-project] Ansible - Coldfusion 11

2017-05-01 Thread AC
Does anyone have an Ansible playbook or role available to install and configure Coldfusion 11 on Linux? 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 emai

[ansible-project] ansible ad-hoc commands using vault

2016-10-24 Thread AC
Hello, I'm having an issue with ansible vault and my aws-private.pem ssh key. I can't seem to figure out the correct commands to use. I have an encrypted .yml file called '/etc/ansible/vars/main.yml'. This file was encrypted using ansible vault. In this file I have: # --- dependencies: []

[ansible-project] Unable to assign instance ID to a variable

2016-08-11 Thread AC
Hi, I am using ansible to get the instance ID of a EC2 instance on AWS through the use of ec2_remote_facts. How do I assign the instance ID to a variable using set_fact? I was trying to use the following script but it did not work. --- - name: Set ip instance on AWS instance hosts: localh

[ansible-project] Re: Ansible extra modules - ec2_vpc_subnet

2015-11-30 Thread AC
Hi, Here you go : /home/user/ansible/amazon_vpc.yml - hosts: localhost gather_facts: true roles: - load-balancer /home/user/ansible/roles/load-balancer/tasks/main.yml --- - ec2_vpc_subnet: state: present vpc_id: vpc-1dfdf3e az: ap-southeast-1b cidr: 10.170.1

[ansible-project] Ansible extra modules - ec2_vpc_subnet

2015-11-25 Thread AC
Hi, I have installed ansible on centos 6 and it seems that I am getting the error : state is not legal... [user@server tasks]$ ansible-playbook -v -i /home/user/ansible/ansible_hosts /home/user/ansible/amazon_vpc.yml ERROR: state is not a legal parameter in an Ansible task or handler [user@se