Re: [ansible-project] Connection via Citrix

2019-09-24 Thread goforawalktwice
I've been setting up Citrix client applications (VDA virtual desktop agent) via 
ansible and having Citrix admin people publish. VDA runs on a server that is 
like any other server ... Winrm etc.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/e8f30cf7-cb7d-48e4-a235-d4d3362a548a%40googlegroups.com.


Re: [ansible-project] Connection via Citrix

2019-09-26 Thread goforawalktwice .
Hi, Unless I'm missing something then the main thing to know is that a
server being used to have applications published from (as opposed to the
citrix delivery controllers) is just like any other server - it can run
WinRM which is how Ansible interacts with a windows server. As it happens
my company is using Ansible to manage servers that also have citrix apps
published from them. At the risk of some more confusion, we are using
Ansible to deploy the Citrix VDA software which is a "fairly standard"
installer  (it does actually perform part of the install and then requires
a reboot and user to logon to trigger the remaining part of the install.
Hope that helps.  Regards, Straff

https://gist.github.com/straff/510873c20e28c5ba949949e486da3e6d

On Wed, Sep 25, 2019 at 9:44 PM Srinivas Naram 
wrote:

> Hello,
>
> Can you please provide more details on how you are moving forward with the
> setup ? Is any documentation available to understand how this can be
> achieved ?
>
> TIA
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/j8rPlhF-OGE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAG-N3P4JcTz1_y%3D7_a2oi2MbDEKwzKMn%3Dog_BsJbLF9UTWH1_A%40mail.gmail.com
> 
> .
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAA_utaho0rgDv%3DB8XhHjcAdq78Hm2jGHeavto7t%3DV2zfkOUJXA%40mail.gmail.com.


[ansible-project] Re: win_chocolatey does not update programs/features list on the windows target os

2018-12-14 Thread goforawalktwice
Hi,  am not a user of Chocloatey yet but have been doing a lot of .msi 
installs ... the Progs/Features screen seems to automatically refresh 
sometimes but not always. Could it be that ?  Regards, Straff

On Saturday, December 15, 2018 at 2:02:58 AM UTC+13, Serge Zajac wrote:
>
> Hi cheers,
>
> When using win_chocolatey module to deploy a package, it install the 
> package but do not update programs/features list on the OS. 
> Installing directly with choco do not have this behaviour
>
> Is anyone can confirm this behaviour.
>
> Can it be a bug to report ?
>
> regards
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4d3f234f-4989-4150-94c1-58195319a159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: My playbook is not running

2018-12-14 Thread goforawalktwice
Have found this to be most useful sorting out YAML syntax errors 
... https://codebeautify.org/yaml-validator

in your case there were a few errors:
* url= rather than url:
* state:present needs a space after colon

Regards, Straff


On Tuesday, December 11, 2018 at 10:36:11 AM UTC+13, Fernando William wrote:
>
> Hi, when i try to run a playbok in a docker role, i´m advised about syntax 
> erro.
> someone could help me with my yml?
> the /roles/docker/tasks/main.yml is:
>
> #start
> # tasks file for docker
> - name: Grant Docker Instalation
>   apt: name={{ item }} update_cache=yes state=present
>   with_items:
> - apt-transport-https
> - ca-certificates
> - curl
> - software-properties-common
>
> - apt_key:
> url= "https://download.docker.com/linux/ubuntu/gpg";
> state:present
>
> - apt_repository:
> repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ 
> ansible$
> state:present
>
> - name: Installing Docker
>   apt: name=docker-ce update_cache=yes state=present
> #end
>
>
>  the error is:
> ERROR! Syntax Error while loading YAML.
>
>
> The error appears to have been in 
> '/etc/ansible/roles/docker/tasks/main.yml': line 3, column 1, but may
> be elsewhere in the file depending on the exact syntax problem.
>
> The offending line appears to be:
>
> # tasks file for docker
> - name: Grant Docker Instalation
> ^ here
>
>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/331c0c51-b7f4-4908-a0e6-5b1ad94aef50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: win_chocolatey does not update programs/features list on the windows target os

2018-12-31 Thread goforawalktwice
Hi, Did your problem get solved?  Another possibility is that if the 
account being used to install software is different to the one looking at 
"Programs and Features" / "Uninstall Programs" and that "ALLUSERS=1" (or 
some sort of equivalent) was not specified (either as an arg to win_package 
or baked into the .msi package itself as a default) then it won't show up.  
I've been caught out by this before.  Just a thought.

On Saturday, December 15, 2018 at 2:02:58 AM UTC+13, Serge Zajac wrote:
>
> Hi cheers,
>
> When using win_chocolatey module to deploy a package, it install the 
> package but do not update programs/features list on the OS. 
> Installing directly with choco do not have this behaviour
>
> Is anyone can confirm this behaviour.
>
> Can it be a bug to report ?
>
> regards
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a80f3ca9-4d4a-44ab-9a0b-8c613105b2ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: Template format error: YAML not well-formed.

2019-01-07 Thread goforawalktwice
hi, when I paste that YAML to 

https://jsonformatter.org/yaml-validator

it reckons line 22 is a problem - the second -name entry. When I remove 
from line 22 down it reckons it's valid YAML.

Regards, Straff



On Tuesday, January 8, 2019 at 5:34:25 AM UTC+13, Kishore Ponniah wrote:
>
> Hi all,
>
> My cloudformation template has exceeded the template body limit more than 
> 51200 bytes and I am trying to upload to s3 and deploy using cross account. 
> I used template_url parameter in the playbook but giving an error. Before 
> adding template_url, I had template_body which was working fine. I have 
> only replaced template_body to template_url. 
>
> Please find the playbook below: 
>
> - name: create xx---xx-iam-atlas-developer-roles changeset
>   cloudformation:
> stack_name: "xx---xx-iam-atlas-developer-roles"
> state: present
> region: "{{ account_config.1 }}"
> aws_access_key: "{{ account_config.0.sts_creds.access_key }}"
> aws_secret_key: "{{ account_config.0.sts_creds.secret_key }}"
> security_token: "{{ account_config.0.sts_creds.session_token }}"
> create_changeset: true
> changeset_name: "{{ cf_changeset_name }}"
> template_url: "
> https://s3.console.aws.amazon.com/s3/buckets/xx//cloudformation/xxx/xx---xx-iam-atlas-developer-roles.yaml
> "
> template_parameters: "{{ 
> account_config.0.account_config.stacks[' 
> xx---xx-iam-atlas-developer-roles'].params 
> }}"
> termination_protection: no
> tags: "{{ global_tags | 
> combine(account_config.0.account_config.stacks[' 
> xx---xx-iam-atlas-developer-roles'].override_tags, 
> recursive=True) }}"
>   loop: "{{ 
> assumed_roles_with_account_config.results|subelements('account_config.regions',
>  
> skip_missing=True) }}"
>   loop_control:
> loop_var: account_config
> label: "{{ account_config.0.account_config.account_alias }}:{{ 
> account_config.1 }}"
>   tags:
> rxgt-ps-identity-stack-deploy
>
> - name: create xx---xx-iam-atlas-developer-roles stack
>   cloudformation:
> stack_name: "xx---xx-iam-atlas-developer-roles"
> state: present
> region: "{{ account_config.1 }}"
> aws_access_key: "{{ account_config.0.sts_creds.access_key }}"
> aws_secret_key: "{{ account_config.0.sts_creds.secret_key }}"
> security_token: "{{ account_config.0.sts_creds.session_token }}"
> create_changeset: false
> changeset_name: "{{ cf_changeset_name }}"
> template_url: "
> https://s3.console.aws.amazon.com/s3/buckets/xx//cloudformation/xxx/xx---xx-iam-atlas-developer-roles.yaml
> "
> template_parameters: "{{ 
> account_config.0.account_config.stacks['xx---xx-iam-atlas-developer-roles'].params
>  
> }}"
> termination_protection: no
> tags: "{{ global_tags | 
> combine(account_config.0.account_config.stacks['xx---xx-iam-atlas-developer-roles'].override_tags,
>  
> recursive=True) }}"
>   # Convert to a list of dicts duplicated per region. See 
> https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#subelements-filter
>   loop: "{{ 
> assumed_roles_with_account_config.results|subelements('account_config.regions',
>  
> skip_missing=True) }}"
>   loop_control:
> loop_var: account_config
> label: "{{ account_config.0.account_config.account_alias }}:{{ 
> account_config.1 }}"
>   when: with_stack_deploy
>   tags:
> rxgt-ps-identity-stack-deploy
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c8fce4d7-b3f2-4495-9604-d554187f7ea0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: win_chocolatey does not update programs/features list on the windows target os

2019-01-07 Thread goforawalktwice
ok, you could check that MsiInstall.log for value of ALLUSERS - if it's not 
'1' and you are installing via a different account to that for viewing 
Progs/Features then it makes sense.
You could try adding ALLUSERS=1 as a property/arg and see what you get

Regards, Straff

On Friday, January 4, 2019 at 2:18:25 AM UTC+13, Serge Zajac wrote:
>
> Hello,
>
>  no problem is not really solved.
> But as you mentionned, sometimes, list is updated, i have to check this 
> with my system admins team.
> The package is a custom package and params in the chocolateyinstall.ps1 
> are 
> silentArgs= "/qn /norestart /l*v 
> `"$env:TEMP\chocolatey\$($packageName)\$($packageName).MsiInstall.log`""
>
> Le mar. 1 janv. 2019 à 05:32, goforawalktwice  > a écrit :
>
>> Hi, Did your problem get solved?  Another possibility is that if the 
>> account being used to install software is different to the one looking at 
>> "Programs and Features" / "Uninstall Programs" and that "ALLUSERS=1" (or 
>> some sort of equivalent) was not specified (either as an arg to win_package 
>> or baked into the .msi package itself as a default) then it won't show up.  
>> I've been caught out by this before.  Just a thought.
>>
>> On Saturday, December 15, 2018 at 2:02:58 AM UTC+13, Serge Zajac wrote:
>>>
>>> Hi cheers,
>>>
>>> When using win_chocolatey module to deploy a package, it install the 
>>> package but do not update programs/features list on the OS. 
>>> Installing directly with choco do not have this behaviour
>>>
>>> Is anyone can confirm this behaviour.
>>>
>>> Can it be a bug to report ?
>>>
>>> regards
>>>
>> -- 
>> 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 ansible-proje...@googlegroups.com .
>> To post to this group, send email to ansible...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/a80f3ca9-4d4a-44ab-9a0b-8c613105b2ca%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/a80f3ca9-4d4a-44ab-9a0b-8c613105b2ca%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/933977d8-ce84-4f3d-9ee1-886a56eca747%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Re: Template format error: YAML not well-formed.

2019-01-07 Thread goforawalktwice
ooops ... the error was due to me copy/paste formatting - the second 
'-name' got indented too far - fixing that indentation makes it valid YAML 
according to that site


On Tuesday, January 8, 2019 at 2:04:24 PM UTC+13, Karl Auer wrote:
>
> What is the problem that it reports on line 22?
>
> When posting code, please post in a fixed-width font if you can. Makes it 
> easier to check indentation.
>
> Regards, K.
>
>
> On Tue, Jan 8, 2019 at 11:58 AM goforawalktwice  > wrote:
>
>> hi, when I paste that YAML to 
>>
>> https://jsonformatter.org/yaml-validator
>>
>> it reckons line 22 is a problem - the second -name entry. When I remove 
>> from line 22 down it reckons it's valid YAML.
>>
>> Regards, Straff
>>
>>
>>
>> On Tuesday, January 8, 2019 at 5:34:25 AM UTC+13, Kishore Ponniah wrote:
>>>
>>> Hi all,
>>>
>>> My cloudformation template has exceeded the template body limit more 
>>> than 51200 bytes and I am trying to upload to s3 and deploy using cross 
>>> account. I used template_url parameter in the playbook but giving an error. 
>>> Before adding template_url, I had template_body which was working fine. I 
>>> have only replaced template_body to template_url. 
>>>
>>> Please find the playbook below: 
>>>
>>> - name: create xx---xx-iam-atlas-developer-roles 
>>> changeset
>>>   cloudformation:
>>> stack_name: "xx---xx-iam-atlas-developer-roles"
>>> state: present
>>> region: "{{ account_config.1 }}"
>>> aws_access_key: "{{ account_config.0.sts_creds.access_key }}"
>>> aws_secret_key: "{{ account_config.0.sts_creds.secret_key }}"
>>> security_token: "{{ account_config.0.sts_creds.session_token }}"
>>> create_changeset: true
>>> changeset_name: "{{ cf_changeset_name }}"
>>> template_url: "
>>> https://s3.console.aws.amazon.com/s3/buckets/xx//cloudformation/xxx/xx---xx-iam-atlas-developer-roles.yaml
>>> "
>>> template_parameters: "{{ 
>>> account_config.0.account_config.stacks[' 
>>> xx---xx-iam-atlas-developer-roles'].params 
>>> }}"
>>> termination_protection: no
>>> tags: "{{ global_tags | 
>>> combine(account_config.0.account_config.stacks[' 
>>> xx---xx-iam-atlas-developer-roles'].override_tags, 
>>> recursive=True) }}"
>>>   loop: "{{ 
>>> assumed_roles_with_account_config.results|subelements('account_config.regions',
>>>  
>>> skip_missing=True) }}"
>>>   loop_control:
>>> loop_var: account_config
>>> label: "{{ account_config.0.account_config.account_alias }}:{{ 
>>> account_config.1 }}"
>>>   tags:
>>> rxgt-ps-identity-stack-deploy
>>>
>>> - name: create xx---xx-iam-atlas-developer-roles stack
>>>   cloudformation:
>>> stack_name: "xx---xx-iam-atlas-developer-roles"
>>> state: present
>>> region: "{{ account_config.1 }}"
>>> aws_access_key: "{{ account_config.0.sts_creds.access_key }}"
>>> aws_secret_key: "{{ account_config.0.sts_creds.secret_key }}"
>>> security_token: "{{ account_config.0.sts_creds.session_token }}"
>>> create_changeset: false
>>> changeset_name: "{{ cf_changeset_name }}"
>>> template_url: "
>>> https://s3.console.aws.amazon.com/s3/buckets/xx//cloudformation/xxx/xx---xx-iam-atlas-developer-roles.yaml
>>> "
>>> template_parameters: "{{ 
>>> account_config.0.account_config.stacks['xx---xx-iam-atlas-developer-roles'].params
>>>  
>>> }}"
>>> termination_protection: no
>>> tags: "{{ global_tags | 
>>> combine(account_config.0.account_config.stacks['xx---xx-iam-atlas-developer-roles'].override_tags,
>>>  
>>> recursive=True) }}"
>>>   # Convert to a list of dicts duplicated per region. See 
>>> https://docs.ansible.com/ansible/latest/user_guide/playbo

[ansible-project] Re: Best practice to manage artifacts in Ansible

2019-01-08 Thread goforawalktwice
Hi, here's the sorts of things we're doing at my company:

- binary collateral (.jars, .msi, .zip, .exe installers) kept in 
Artifactory (Nexus is other option as mentioned)
- some of those we have source for and use things like maven to build, 
package and push to Artifactory 
- other deployable artifacts we get directly from 3rd parties (we have no 
source code for them) and upload those to Artifactory
- version number of the artifact forms part of the artifactory repo path - 
http:///artifactory.msi>
 
- we have two instances of artifactory - one for everything except 
production and production
- we have a formal process to authorise and promote approved artifacts to 
the production artifactory instance (there's a repo proxying feature of 
Artifactory that we use)
- not all collateral is being kept in artifactory - in some cases, where 
the frequency of update is low we're managing files in ansible (which is 
being source controlled in git/bit-bucket)
- we've yet to have a formal process for deploying the ansible collateral 
to admin/control machine servers - for non-prod we're just doing git clone 
of the ansible collateral, but we're considering making an RPM so we
can have proper discoverability of the anisble collateral (we have a dozen 
administrator/ops people that can do deployments so we need consistency and 
certainty of ansible collateral versions)

Hope that helps.

Regards, Straff


On Wednesday, January 2, 2019 at 3:51:17 AM UTC+13, Sagar Parbhane wrote:
>
> Hi All,
>
> What is the best practice to manage artifacts like Jars files etc in 
> Ansible and if I want only client approve softwares which are are kept on 
> some location to be installed on my node systems then what is the best 
> practise to achieve this any specific modules that can be used in this 
> case. Also how the licence softwares installation can be manage in Ansible
> Any link to some document will be a great help.
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9f95d0f9-6e86-47ad-817a-6b9e7fc74576%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Re: 'ERROR!' Telnet 'is not a valid attribute to play

2019-01-08 Thread goforawalktwice
Hi, it would help to paste your playbook here. Invoking tasks from a 
playbook requires specific syntax - one option is under 'tasks' - 
see https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html
Alternately you can have your tasks in a role and call the role from your 
playbook.  Hope that helps.  Regards, Straff

On Wednesday, January 9, 2019 at 7:54:58 AM UTC+13, Eduardo Nunes Pereira 
wrote:
>
> Hello Everyone,
>
>
> I use ansible 2.7, I'm trying to use the 'telnet' module to connect to 
> Cisco devices with IOS but it has the following error: '*ERROR!' Telnet 
> 'is not a valid attribute to play "*any ideas?
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9f21f857-76dd-4678-99ef-93783d808000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] How to import/load env/ini file that is located in file on the Remote/Target server?

2019-01-10 Thread goforawalktwice
you could use fetch module first to get from remote to local, then use 
with_ini

But on the face of it it does look like a file that should be source 
controlled/with the ansible playbooks/roles etc


On Friday, January 11, 2019 at 9:56:35 AM UTC+13, Hugo Gonzalez wrote:
>
> Hello Chaz,
> On 1/10/19 11:00 AM, Chaz_E wrote:
>
> QUESTION: How can we load or import an env/ini file that is located in 
> a file on the Remote/Target server?
>
> GOAL:
> We have an env/ini file on the remote/target server.
> We want to read in that file and use the values as variables for the tasks 
> on that machine. 
> ( FYI: Our process does not allow for saving these variables in the 
> Inventory - even though that would be nice. )
>
> Here is an example of what our ini/env file looks like:
> Path: /devops/properties/Admin.properties
> username = FooAdmin
> password = bar123XYZ
> activate = no
> (Basically property format or ini format without any sections)
>
> Can't you link/transform your file to be a local facts file? Take a look 
> at 
>
>
> https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#local-facts-facts-d
>
>
>
>
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7a2f1167-5b37-4452-902d-8e1750d0fa0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] Oracle 12C hangs with while doing unattended installation

2019-01-11 Thread goforawalktwice
See 
https://stackoverflow.com/questions/53244913/oracle-12c-client-install-hangs-silent-unattended


On Tuesday, September 25, 2018 at 1:26:14 AM UTC+12, anonymus wrote:
>
> can you please share the blog link. (just for later reference in this 
> thread)
>
> On Monday, September 24, 2018 at 4:09:58 PM UTC+5:30, Isha G wrote:
>>
>> I have found a blog actually and I am working on it.
>> Thanks a lot for all the suggestions.
>>
>> On Mon, Sep 24, 2018 at 3:46 PM Isha G  wrote:
>>
>>> Hi,
>>> Same thing happens with remote Powershell and I understand this may not 
>>> be Ansible issue.
>>> Any suggestions? From Oracle 12 c side
>>>
>>> On Mon, Sep 24, 2018 at 3:30 PM Isha G  wrote:
>>>
 Hi,
 Thanks for the replies.
 I have the same issues with the with remote powershell.
 I still see 0% CPU utilization. I am not sure how to move forward. I am 
 still seeing the same issues.

 On Mon, Sep 24, 2018 at 1:40 AM Jordan Borean  
 wrote:

> It's very hard for us to help you in this situation but basically it 
> boils down to you running these checks and finding out what is causing 
> the 
> program to hang;
>
> * Use something like procexp to see if the setup.exe process is 
> spawning any child processes that are running in the background
> * Ensure your quoting is not screwing up the install process, in your 
> first example you have quoted the responseFile path arg but you don't 
> need 
> this quoted.
> * Try and replicate this through another WinRM session like 
> PowerShell's Invoke-Command or Enter-PSSession
> * Use Ansible become on the task to escape the boundary of the WinRM 
> logon and run through a psuedo-interactive process
> * See if there is any logging you can enable on the Oracle installer, 
> this could tell you the stage it is up to and what it may be waiting on
>
> As for why you cannot see it when running through Ansible, Ansible 
> uses a completely separate session to run your processes as any normal 
> interactive logon. This is not unique to Ansible but how Windows treats 
> things like network logons such as WinRM.
>
> Thanks
>
> Jordan
>
> -- 
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/ansible-project/e2e0f876-862d-4b74-a045-93f0f74355fd%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4f6f55ff-b492-46a4-9d09-31603c51226d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] I am trying to install Java and set path by using Java tar file, I am getting error can anyone please suggest ASAP (Urgent)

2019-01-21 Thread goforawalktwice
You also have a space between lineinfile and colon

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bdb19c56-d55e-4789-b572-d708a29e3914%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Can we use one include inside another include?

2019-01-21 Thread goforawalktwice
Seems like an easy thing to test ... Give it a try and let us all know

Regards, Straff

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7460fb33-849f-4195-a1f2-dde9637823f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ansible-project] How to use variable in "when" statement in ansible?

2019-01-21 Thread goforawalktwice
Try dumping the contents of state.stdout ... Use a debug and you'll need braces

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ada4e51b-ba35-4586-96eb-fec053681514%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Unexpected RC while uninstallaing a package using win_package

2019-06-30 Thread goforawalktwice
Perhaps try running interactively directly on target machine. There should be a 
logging option somehow too

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fbada6c5-3e77-4a65-8379-c4f8443f66ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.