Skip to main content
The 2024 Developer Survey results are live! See the results
explained ;
Source Link
Akhil
  • 962
  • 13
  • 24

A simple approach is to make use of ;

For example:

ENV=prod; ansible-playbook -i inventories/$ENV --extra-vars "env=$ENV"  deauthorize_users.yml --check

command1; command2 executes command2 after executing command1, sequentially. It does not matter whether the commands were successful or not.

A simple approach is to make use of ;

For example:

ENV=prod; ansible-playbook -i inventories/$ENV --extra-vars "env=$ENV"  deauthorize_users.yml --check

A simple approach is to make use of ;

For example:

ENV=prod; ansible-playbook -i inventories/$ENV --extra-vars "env=$ENV"  deauthorize_users.yml --check

command1; command2 executes command2 after executing command1, sequentially. It does not matter whether the commands were successful or not.

Source Link
Akhil
  • 962
  • 13
  • 24

A simple approach is to make use of ;

For example:

ENV=prod; ansible-playbook -i inventories/$ENV --extra-vars "env=$ENV"  deauthorize_users.yml --check