Skip to content

Commit c51c0c7

Browse files
committed
SELinux workaround
1 parent e21a5d1 commit c51c0c7

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

documentation/modules/ROOT/pages/03-demo.adoc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,24 @@ Replace the `--server` url with your own cluster API endpoint.
118118
+
119119
{empty} +
120120

121-
1. Run the Playbook
121+
1. Run the Playbook with Docker/Podman
122+
+
123+
[IMPORTANT]
124+
--
125+
If your system is SELinux enabled, you'll need to label the project directory to allow docker/podman to access it. Run the command:
126+
127+
[.console-input]
128+
[source,bash]
129+
----
130+
sudo chcon -Rt svirt_sandbox_file_t $PWD
131+
----
132+
133+
The error you may get if SELinux blocks the process would be similar to:
134+
135+
----
136+
ERROR! the playbook: ./ansible/install.yaml could not be found
137+
----
138+
--
122139
+
123140
* With Docker:
124141
+

0 commit comments

Comments
 (0)