Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: am-configure: Configure Pipeline Local FS #285

Open
wants to merge 2 commits into
base: qa/1.x
Choose a base branch
from

Conversation

mamedin
Copy link
Contributor

@mamedin mamedin commented Feb 28, 2020

Connects to #280

@mamedin mamedin changed the title am-configure: Configure Pipeline Local FS WIP: am-configure: Configure Pipeline Local FS Feb 28, 2020
- name: Get pipeline uuid
become: "yes"
command: >
mysql --user="{{archivematica_src_am_db_user }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we use dbshell here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the MCP database, so it is always MySQL. But we can use the dbshell always 👍

@@ -0,0 +1,140 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's worth commeting that "pipeline local filesystem" is an strange way to call an ssh-based remote space, so adding some kind of clarification would be intersting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree!! 👍


# Define archivematica_src_configure_pipeline_remote_name
- set_fact:
am_configure_pipelinelocalfs_pipeline_remote_name: "{{ ansible_default_ipv4.address }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually prefer ansible_host , as the default ipv4 address found by ansible is not always reachable

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mamedin mamedin force-pushed the dev/add-pipeline-localfs-locations2 branch 3 times, most recently from 4b1e6ff to 7b0a2e3 Compare April 23, 2020 09:57
@mamedin mamedin force-pushed the dev/add-pipeline-localfs-locations2 branch from 7b0a2e3 to 64bb493 Compare November 27, 2020 17:11
@mamedin mamedin force-pushed the dev/add-pipeline-localfs-locations2 branch from 64bb493 to 0d3870e Compare March 19, 2021 09:46
@mamedin mamedin force-pushed the dev/add-pipeline-localfs-locations2 branch 2 times, most recently from ebfc40f to 59b6b15 Compare June 11, 2021 10:06
@mamedin
Copy link
Contributor Author

mamedin commented Jun 11, 2021

This branch is rebased to stable/1.12.x

Miguel Angel added 2 commits June 28, 2021 17:31
- Create a new task file (`configure-pipeline-local-fs.yml`) to configure the
  Pipeline local FS Space and its locations.

- Create a new task file (`configure-create-location.yml`) to be used to create
  all kinds of locations, checking if the location exists before creating it.
@mamedin mamedin force-pushed the dev/add-pipeline-localfs-locations2 branch from 59b6b15 to 3063044 Compare June 28, 2021 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants