ansi 1 Flashcards

1
Q

Fall back location

A

/etc/ansible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

env

A

Command to list environment variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

export JAVA_HOME

A

Set environment variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

unset

A

Command to delete environment variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

First precedence

A

Environment variable

export ANSIBLE_CONFIG=/path/ansible.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Second precedence

A

Current directory has ansible.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Third precedence

A

Home directory has .ansible.cfg file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Fourth precedence

A

Default /etc/ansible/ansible.cfg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

-i inventory

A

Passing the inventory file directly, above all the precedence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

[front:children]

A

Group of groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

—list-host

A

To list the servers on which command will be execute, it will list only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

!

A

Except

Run the command on all servers except

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Escalate sudo privileges

A

-b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Yellow

A

State changed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Green

A

No changes, state was already changed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Red

A

Error

17
Q

Pink

A

Warnings or inventory related issues

18
Q

Blue

A

Verbose related

19
Q

remote_src: yes

A

Search for source from remote machine

20
Q

remote_src: no

A

Search for file in the Master or Controller machine