@@ -13,12 +13,12 @@ local machine as opposed to running and rebuilding the Operator each time.
1313. Initialize a new Ansible-based Operator project:
1414+
1515----
16- $ operator-sdk new --type ansible --kind Foo --api-version foo.example.com/v1alpha1 foo-operator
16+ $ operator-sdk new --type ansible --kind foo --api-version foo.example.com/v1alpha1 foo-operator
1717Create foo-operator/tmp/init/galaxy-init.sh
1818Create foo-operator/tmp/build/Dockerfile
1919Create foo-operator/tmp/build/test-framework/Dockerfile
2020Create foo-operator/tmp/build/go-test.sh
21- Rendering Ansible Galaxy role [foo-operator/roles/Foo ]...
21+ Rendering Ansible Galaxy role [foo-operator/roles/foo ]...
2222Cleaning up foo-operator/tmp/init
2323Create foo-operator/watches.yaml
2424Create foo-operator/deploy/rbac.yaml
@@ -39,8 +39,8 @@ This example creates and deletes a namespace with the switch of a variable.
3939+
4040[source,yaml]
4141----
42- - name: set test namespace to {{ state }}
43- k8s:
42+ - name: set test namespace to " {{ state }}"
43+ community.kubernetes. k8s:
4444 api_version: v1
4545 kind: Namespace
4646 state: "{{ state }}"
@@ -58,13 +58,13 @@ state: present
5858----
5959
6060. Create an Ansible playbook `playbook.yml` in the top-level directory, which
61- includes the `Foo ` role:
61+ includes the `foo ` role:
6262+
6363[source,yaml]
6464----
6565- hosts: localhost
6666 roles:
67- - Foo
67+ - foo
6868----
6969
7070. Run the playbook:
@@ -78,7 +78,7 @@ PLAY [localhost] ***************************************************************
7878PROCEDURE [Gathering Facts] *********************************************************************
7979ok: [localhost]
8080
81- Task [Foo : set test namespace to present]
81+ Task [foo : set test namespace to present]
8282changed: [localhost]
8383
8484PLAY RECAP *********************************************************************************
@@ -107,7 +107,7 @@ PLAY [localhost] ***************************************************************
107107PROCEDURE [Gathering Facts] *********************************************************************
108108ok: [localhost]
109109
110- Task [Foo : set test namespace to absent]
110+ Task [foo : set test namespace to absent]
111111changed: [localhost]
112112
113113PLAY RECAP *********************************************************************************
0 commit comments