diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 15:07:48 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 15:07:48 +0200 |
commit | 15cceca6a25b9e5c228a6aa39fb087f8063273f6 (patch) | |
tree | 310e0914cd2c1e294faefbf7876b67b37ca2f384 /roles | |
parent | import my_dotfiles role (diff) | |
download | infra-ansible-15cceca6a25b9e5c228a6aa39fb087f8063273f6.tar.gz infra-ansible-15cceca6a25b9e5c228a6aa39fb087f8063273f6.zip |
workspace -> my_workspace
Diffstat (limited to 'roles')
-rw-r--r-- | roles/my_workspace/README.md | 7 | ||||
-rw-r--r-- | roles/my_workspace/defaults/main.yml (renamed from roles/workspace/defaults/main.yml) | 0 | ||||
-rw-r--r-- | roles/my_workspace/tasks/main.yml (renamed from roles/workspace/tasks/main.yml) | 0 | ||||
-rw-r--r-- | roles/my_workspace/tasks/project.yml (renamed from roles/workspace/tasks/project.yml) | 0 | ||||
-rw-r--r-- | roles/workspace/README.md | 8 |
5 files changed, 7 insertions, 8 deletions
diff --git a/roles/my_workspace/README.md b/roles/my_workspace/README.md new file mode 100644 index 0000000..3e87881 --- /dev/null +++ b/roles/my_workspace/README.md @@ -0,0 +1,7 @@ +This role clones a bunch of repositories to /srv/workspace; it then tries to +run either `make` or `docker-compose up -d` in each of these repositories, +which are called "projects". Not really usable by anybody else. + +This is how my web "projects" are set up; typically, a project is a repository +with a Makefile which calls docker-compose in a bunch of sub-directories. This +feels like a lame hack, but has worked pretty well so far. diff --git a/roles/workspace/defaults/main.yml b/roles/my_workspace/defaults/main.yml index b517f2c..b517f2c 100644 --- a/roles/workspace/defaults/main.yml +++ b/roles/my_workspace/defaults/main.yml diff --git a/roles/workspace/tasks/main.yml b/roles/my_workspace/tasks/main.yml index 179bdef..179bdef 100644 --- a/roles/workspace/tasks/main.yml +++ b/roles/my_workspace/tasks/main.yml diff --git a/roles/workspace/tasks/project.yml b/roles/my_workspace/tasks/project.yml index ae139f5..ae139f5 100644 --- a/roles/workspace/tasks/project.yml +++ b/roles/my_workspace/tasks/project.yml diff --git a/roles/workspace/README.md b/roles/workspace/README.md deleted file mode 100644 index 44af085..0000000 --- a/roles/workspace/README.md +++ /dev/null @@ -1,8 +0,0 @@ -This role is the most specialized and opinionated of all. It can be used to -clone a bunch of repositories to /srv/workspace; it then tries to run either -`make` or `docker-compose up -d` in each of these repositories, which are -called "projects". - -This is how my web "projects" are set up; typically, a project is a repository -with a Makefile which calls docker-compose in a bunch of sub-directories. This -feels like a lame hack, but has worked pretty well so far. |