Changes to make fips work on ubuntu
Change-Id: Ibda3e9369a177151ce222f87bbf05fc5a37a47d6
This commit is contained in:
parent
d0f6b18735
commit
c22e4c1cc3
@ -17,5 +17,4 @@
|
|||||||
|
|
||||||
- name: Do tasks for Ubuntu
|
- name: Do tasks for Ubuntu
|
||||||
include_tasks: ubuntu.yaml
|
include_tasks: ubuntu.yaml
|
||||||
when: >
|
when: ansible_distribution == 'Ubuntu'
|
||||||
(ansible_distribution == "Ubuntu")
|
|
||||||
|
@ -4,9 +4,14 @@
|
|||||||
name: ubuntu-advantage-tools
|
name: ubuntu-advantage-tools
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Enable fips
|
- name: Enable fips and fips-updates
|
||||||
become: true
|
become: true
|
||||||
command: ua enable fips
|
shell: |
|
||||||
|
set -o pipefail
|
||||||
|
yes | ua enable fips
|
||||||
|
echo
|
||||||
|
args:
|
||||||
|
executable: '/bin/bash'
|
||||||
|
|
||||||
- name: Verify fips is enabled
|
- name: Verify fips is enabled
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user