Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Infra: Ansible Ubuntu Focal
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
common
/
tasks
/
main.yaml
diff --git
a/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml
b/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml
index
5c3ba82
..
91fcd18
100644
(file)
--- a/
resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml
+++ b/
resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml
@@
-1,7
+1,7
@@
---
# file: roles/common/tasks/main.yaml
---
# file: roles/common/tasks/main.yaml
-- name: Add permanent proxy settings
+- name:
Conf -
Add permanent proxy settings
lineinfile:
path: "/etc/environment"
state: "present"
lineinfile:
path: "/etc/environment"
state: "present"
@@
-9,7
+9,7
@@
with_dict: "{{ proxy_env }}"
when: proxy_env is defined
tags:
with_dict: "{{ proxy_env }}"
when: proxy_env is defined
tags:
- -
set
-proxy
+ -
common-conf
-proxy
- name: Inst - Update package cache (apt)
apt:
- name: Inst - Update package cache (apt)
apt:
@@
-27,7
+27,7
@@
tags:
- common-inst-prerequisites
tags:
- common-inst-prerequisites
-- name: Inst
all
CSIT PIP requirements
+- name: Inst
-
CSIT PIP requirements
pip:
name:
- "ecdsa==0.13.3"
pip:
name:
- "ecdsa==0.13.3"
@@
-81,24
+81,24
@@
- "sphinxcontrib-serializinghtml==1.1.3"
- "urllib3==1.25.6"
tags:
- "sphinxcontrib-serializinghtml==1.1.3"
- "urllib3==1.25.6"
tags:
- -
install
-pip
+ -
common-inst
-pip
-- name: Inst
all
CSIT PIP requirements - Pandas and SciPy workaround
+- name: Inst
-
CSIT PIP requirements - Pandas and SciPy workaround
pip:
name:
- "pandas==0.25.3"
- "scipy==1.5.4"
tags:
pip:
name:
- "pandas==0.25.3"
- "scipy==1.5.4"
tags:
- -
install
-pip
+ -
common-inst
-pip
-- name: Inst
all Meson (repository version is too old
)
+- name: Inst
- Meson (DPDK
)
pip:
name:
- "meson==0.47.1"
tags:
pip:
name:
- "meson==0.47.1"
tags:
- -
install
-meson
+ -
common-inst
-meson
-- name:
Set
sudoers admin
+- name:
Conf -
sudoers admin
lineinfile:
path: "/etc/sudoers"
state: "present"
lineinfile:
path: "/etc/sudoers"
state: "present"
@@
-106,9
+106,9
@@
line: "%admin ALL=(ALL) ALL"
validate: "/usr/sbin/visudo -cf %s"
tags:
line: "%admin ALL=(ALL) ALL"
validate: "/usr/sbin/visudo -cf %s"
tags:
- -
set
-sudoers
+ -
common-conf
-sudoers
-- name:
Set sudoers sudo
+- name:
Conf - sudoers nopasswd
lineinfile:
path: "/etc/sudoers"
state: "present"
lineinfile:
path: "/etc/sudoers"
state: "present"
@@
-116,6
+116,6
@@
line: "%sudo ALL=(ALL:ALL) NOPASSWD: ALL"
validate: "/usr/sbin/visudo -cf %s"
tags:
line: "%sudo ALL=(ALL:ALL) NOPASSWD: ALL"
validate: "/usr/sbin/visudo -cf %s"
tags:
- -
set
-sudoers
+ -
common-conf
-sudoers
- meta: flush_handlers
- meta: flush_handlers