From d8ceebc22497804f844179d507918bf1543c333c Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 14 Oct 2020 21:52:39 +0200 Subject: [PATCH] Refactor Fedora-specific tasks Signed-off-by: Matej Focko --- playbooks/fedora.yml | 5 +---- playbooks/roles/fedora/meta/main.yml | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 playbooks/roles/fedora/meta/main.yml diff --git a/playbooks/fedora.yml b/playbooks/fedora.yml index 022eca5..8ba4a99 100644 --- a/playbooks/fedora.yml +++ b/playbooks/fedora.yml @@ -2,15 +2,12 @@ - name: Fedora bootstrap hosts: all roles: - - role: fedora/repositories + - role: fedora become: yes become_method: sudo vars: # set to "local" or "remote" source: "local" - - role: fedora/packages - become: yes - become_method: sudo - flatpaks - ssh - shell diff --git a/playbooks/roles/fedora/meta/main.yml b/playbooks/roles/fedora/meta/main.yml new file mode 100644 index 0000000..4965490 --- /dev/null +++ b/playbooks/roles/fedora/meta/main.yml @@ -0,0 +1,4 @@ +--- +dependencies: + - fedora/repositories + - fedora/packages