Hi Alan,
thanks, I checked the code and it should work.
But how can I change this setting inside the container? I need to change
the source and rebuild it ?
I tried to set environment variable for the inventory scm, but it do not
work and I haven't found support for this in the source code also.
I'm going to rebuild the images.
Peter
On 02/10/2017 13:57, Alan Rominger wrote:
> Yes, this should be possible. Look inside of awx/settings/defaults.py,
> and you will see a list of variables for each kind of inventory import.
> Look at SCM_ENABLED_VALUE and CUSTOM_ENABLED_VALUE. You'll need to set
> those (or just one, depending on the type of import you need to work) to
> the key (inside of hostvars for every host) that will signal whether the
> host should be put into the disabled state.
>
> Alan
>
> On Sun, Oct 1, 2017 at 10:55 PM, Peter Hudec <
phu...@cnc.sk
> <mailto:
phu...@cnc.sk>> wrote:
>
> Hi,
>
> is there any way how to just disable host on source based inventory.
> Adding some variable or any other trick.
>
> The balloon help says, that the flag is set by SYNC process.
>
> Peter
>
> --
> *Peter Hudec*
> Infraštruktúrny architekt
>
phu...@cnc.sk <mailto:
phu...@cnc.sk> <mailto:
phu...@cnc.sk
> <mailto:
phu...@cnc.sk>>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2 35 000 100 <tel:%2B421%202%C2%A0%2035%20000%20100>
>
> Mobil:
+421 905 997 203 <tel:%2B421%C2%A0905%20997%20203>
> *
www.cnc.sk <
http://www.cnc.sk>* <http:///
www.cnc.sk
> <
http://www.cnc.sk>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "AWX Project" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
awx-project...@googlegroups.com
> <mailto:
awx-project%2Bunsu...@googlegroups.com>.
> <mailto:
awx-p...@googlegroups.com>.
> <
https://groups.google.com/d/msgid/awx-project/6fa5f83f-c1c9-49b5-14be-0ed6ddd5c57d%40cnc.sk>.
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "AWX Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
awx-project...@googlegroups.com
> <mailto:
awx-project...@googlegroups.com>.
> <mailto:
awx-p...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/awx-project/CAADLLLjO6hCXLLxpjx%2Ba4L9MWNKnSjpXQE%3DQxNB3LPR3wWGHGw%40mail.gmail.com
> <
https://groups.google.com/d/msgid/awx-project/CAADLLLjO6hCXLLxpjx%2Ba4L9MWNKnSjpXQE%3DQxNB3LPR3wWGHGw%40mail.gmail.com?utm_medium=email&utm_source=footer>.