refs #8025 Debian added as base for services
This commit is contained in:
parent
a51210c9b0
commit
bf76e83b5e
|
@ -1,5 +1,7 @@
|
|||
- name: Configure Ceph
|
||||
hosts: all
|
||||
tasks:
|
||||
- import_role:
|
||||
name: debian
|
||||
- import_role:
|
||||
name: ceph
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
- name: Configure DB
|
||||
hosts: all
|
||||
tasks:
|
||||
- import_role:
|
||||
name: debian
|
||||
- import_role:
|
||||
name: db
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
- name: List all disks
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: Get info disk information 2
|
||||
shell: blkid | grep LABEL | awk {'print $2'}
|
||||
register: blkid
|
||||
|
||||
- name: Print valid labels
|
||||
debug:
|
||||
var: blkid
|
||||
|
||||
- name: Parsear stdout_lines para buscar etiquetas específicas
|
||||
set_fact:
|
||||
found_labels: >-
|
||||
{{
|
||||
blkid.stdout_lines
|
||||
| map('regex_search', 'LABEL="(?P<label>[^"]+)"')
|
||||
| select('defined')
|
||||
| list
|
||||
}}
|
||||
|
||||
- name: Print valid labels
|
||||
debug:
|
||||
var: found_labels
|
Loading…
Reference in New Issue