Someone on IRC sorted me out. I needed a tasks folder to put the main.yml
into.
On Thursday, October 24, 2019 at 8:19:20 PM UTC-7, senorsmile wrote:
>
> I have some complex aws related tasks that I would like to move into a
> role.
> However, when I run the play against localhost, the role
I have some complex aws related tasks that I would like to move into a
role.
However, when I run the play against localhost, the role never runs.
After much troubleshooting, I finally created a brand new repo that just
tries to use debug to print something. Directly in a task works fine. In
On Thu, 24 Oct 2019 14:15:23 -0700 (PDT)
David McPherson wrote:
> I have a script that I need to run on oracle linux when I try the standard
> "become:" it fails with the error "run with sudo -s"
>
> I have tried many variations but what I have now is below.
>
> - name: Run gold_changes
>
Hi All,
I have a script that I need to run on oracle linux when I try the standard
"become:" it fails with the error "run with sudo -s"
I have tried many variations but what I have now is below.
- name: Run gold_changes
shell: /home/em7admin/gold_changes_8x.sh -y
become_user: root
Hi folks,
I posted a quite useful feature request and gave examples with
clarification for *why* the feature is definitely beneficial on many
fronts, but it was promptly closed without any clarification or
justification as to why it wouldn't be implemented.
The feature request (with
On 23.10.2019 08:35, Ankit wrote:
> ---
> - hosts: all
>gather_facts: false
>vars:
> *var1:* '[monitor://D:\Logs\Org.SNP.Publisher\*]'
> *var2**:* '[monitor://D:\new\path\dir\*]'
>tasks:
>- name: test unsafe variable in the file
> replace:
>path:
On 24.10.2019 19:22, R-JRI wrote:
> Thanks for the reply, Kai
>
> After I changed the host to local host name in hosts field of yml file. I
> ran it without error but I don't see it get logs from remote servers to
> local /tmp directory. If I ran UNIX script, it takes logs to local /tmp/
>
Thanks for the reply, Kai
After I changed the host to local host name in hosts field of yml file. I
ran it without error but I don't see it get logs from remote servers to
local /tmp directory. If I ran UNIX script, it takes logs to local /tmp/
directory from remote server.
Here is my yml
Hi,
> It's stating the error is at the -name portion... I have checked for
> tab spaces, etc. I have also tried without the quotation marks. Any
> assistance would be wonderful.
could you please paste the exact error message? If it is a module
failure (and not a syntax error), try to run the
On Thu, 24 Oct 2019 08:34:36 -0700 (PDT)
Thomas Lawrence wrote:
> ... I am just trying to make it work at all.
>
> > 2) Make sure admin@controller is able to connect to admin@remote. Best
> >practice is to put public key into /home/admin/.ssh/authorized_keys.
> >
Good afternoon with everyone, I hope you have a great day.
Could you help me with a problem, I will explain my problem shortly:
I am in charge of creating instances from amis already designed, I think
it's great I am working with ansible and json.
When creating instances in Linux, I'm doing
I give up: even with a DS3_v2 (4 cores, 14 GB memory) VM, it fails with the
same error message. I believe this has no relation with system resources,
but maybe a Windows and/or Azure specific bug, 'cause it doesn't happen on
AWS.
On Wed, Oct 23, 2019 at 11:59 AM Angel Rengifo Cancino
wrote:
>
Unreachability due to connection refused or unroutability will fail
relatively quickly. Unreachability due to a filter dropping packets can
hang for a very long time.
Since a manual ssh works, you know for a fact that the mechanics of it all
are sound. Did you duplicate the command being used in
Errata:
admin.controller$ ansible remote -m ping
admin.controller$ ansible remote -m ping -u other-user
--
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
I'm aware it is not good practice but at this stage I am just trying to
make it work at all. I will sort out security when it works!
On Thursday, 24 October 2019 16:32:35 UTC+1, Vladimir Botka wrote:
>
> On Thu, 24 Oct 2019 07:03:24 -0700 (PDT)
> Thomas Lawrence > wrote:
>
> > In the below
I have tried with brand new servers and a backup of one of the older
servers. The only thing I haven't done is take a fresh backup and try that,
which I may try tomorrow. The OSs are different as the servers are running
an out of date OS, that I will have to upgrade at some point!
Ansible
On Thu, 24 Oct 2019 07:03:24 -0700 (PDT)
Thomas Lawrence wrote:
> In the below example, I have a brand new server running Ubuntu 19.04.
> Ansible asks me for the password as expected and I provide it, but nothing
> seems to happen.
>
> ansible -vvv [IP] -m ping -u root --ask-pass
>
> I get
*Please provide the entire playbook, or at least the plays above and below
the one where you think the syntax error is. And provide it in a monospace
typeface.*
We can probably help with a syntax problem. But not if we can't see your
playbook.
Regards, K.
On Fri, Oct 25, 2019 at 1:52 AM Test
I was using the group page. I typed it out within my vi editor on my
server. I have checked for tabs or weird spacing, all around that module
and the ones before it. I did that first, since I had issues when i first
pasted my play. I have been running the check version of the playbook. I
This got resolved. thanks team.
On Wednesday, October 16, 2019 at 12:12:36 PM UTC+5:30, rajthecomputerguy
wrote:
>
> Hi Team,
>
> I need to push the line in cisco switch if vlan id =25 or vlan id =
> 100-119. what module should I use?
>
> I parsed *show interfaces status* and got below
I have inherited the job of continuing with my organisation's ansible setup
after our sys admin left. I am having a hell of a job adding new server to
the setup as ansible can not seem to connect to any newly created servers.
In the below example, I have a brand new server running Ubuntu
Hi Vlado,
That does make more sense. Thank you.
On Wednesday, 23 October 2019 10:32:17 UTC+1, Vladimir Botka wrote:
>
> Hi Stephen,
>
> On Wed, 23 Oct 2019 01:51:26 -0700 (PDT)
> Stephen Feyrer > wrote:
>
> > - name: my-script
> > script: My-Script.ps1 -svc_password '{{
Hey,
I have file var with this content :
version: 3-40-00
I have this task who create repertory :
- name: "Create repertory if run_db_test.sh is execut"
file:
path: /home/ansible/hospitalis_sql/gis-db-patch-{{ hold_version}}-{{
version }}
state: directory
delegate_to: localhost
If it's a syntax error, then it has nothing to do with the specific modules
you are using or their parameters; it has to do with the text of the
playbook only. You can use the -C option to ansible-playbooks to ensure
that the playbook doesn't actually DO anything. If it ever gets to the
point of
Hello All,
Can anyone please suggest how can i get this done.
Thanks in advance.
On Wednesday, 23 October 2019 12:05:35 UTC+5:30, Ankit wrote:
>
> Hello All,
>
> I am trying to update a configuration file where there are existing lines
> (rules) with special characters (:*[]/\. etc.). In
I am facing an issue in which I run a playbook on ~30 nodes and if in
between of a play one of the nodes goes down, the whole play gets stuck ( I
think Ansible gets stuck ) and the other nodes are also getting stuck due
to one node. Is there a way in which I can just skip the play for that
26 matches
Mail list logo