Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ansible exclude a host

# By using the '!' you exclude a host from a play. 
ansible-playbook --limit 'myapp:!database3' myplay.yaml
Comment

exclude host in ansible adhoc command

# Adhoc command. A  is requred before the !
ansible my_group:!single_server -m shell -a "docker ps"
Comment

PREVIOUS NEXT
Code Example
Shell :: install torch librosa 
Shell :: lINUX OS Command line to Creat A new File 
Shell :: read gitignore file 
Shell :: To exclude files with patterns containing preceding and trailing characters : 
Shell :: linux screenshot only current window 
Shell :: exclude folder with gunzip linux 
Shell :: attemting to start apache server 
Shell :: awk last match 
Shell :: curl tcp handshake ssl handshake time 
Shell :: raspbian buster mit uv4l 
Shell :: install ripgrep redhat 8 
Shell :: ubuntu check installed qt version 
Shell :: files rekursiv durchsuchen 
Shell :: is a command to create a user account named serena, including a home directory and a description. 
Shell :: linux vga wake up screen 
Shell :: hwo to run a .bat file on a remote windows host 
Shell :: pup command example 
Shell :: How to fix flash 
Shell :: why lubuntu 20.04 freezes 
Shell :: setup syslog-ng docker 
Shell :: ubuntu in read only mode 
Shell :: create folder putty linux 
Shell :: base16-shell 
Shell :: 2 chaves ssh 
Shell :: how to change the mode of network in kali from monitor to default 
Shell :: bash script speichern from speed test in influxdb 
Shell :: uninstall webpack globaly 
Shell :: canvas api python pypi 
Shell :: gitignore new monified file ? 
Shell :: /var/spool/cron/: mkstemp: Permission denied 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =